public class SpecularLightingRed extends AbstractTiledRed
| Modifier and Type | Field and Description |
|---|---|
private BumpMap |
bumpMap
BumpMap source
|
private double |
ks
Specular lighting constant
|
private Light |
light
Light used for specular lighting
|
private boolean |
linear
true if calculations should be performed in linear sRGB
|
private java.awt.Rectangle |
litRegion
LitRegion
|
private double |
scaleX
Device space to user space scale factors, along
each axis.
|
private double |
scaleY
Device space to user space scale factors, along
each axis.
|
private double |
specularExponent
Specular lighting exponent
|
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth| Constructor and Description |
|---|
SpecularLightingRed(double ks,
double specularExponent,
Light light,
BumpMap bumpMap,
java.awt.Rectangle litRegion,
double scaleX,
double scaleY,
boolean linear) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr) |
void |
genRect(java.awt.image.WritableRaster wr) |
copyToRaster, copyToRasterByBlocks, createTileStore, drawBlock, drawBlockAndCopy, drawBlockInPlace, genTile, getData, getDefaultTileSize, getTile, getTileStore, init, init, init, setTile, setTileStorecopyBand, getBounds, getColorModel, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, makeTile, updateTileGridInfoprivate double ks
private double specularExponent
private Light light
private BumpMap bumpMap
private double scaleX
private double scaleY
private java.awt.Rectangle litRegion
private boolean linear
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
copyData in interface java.awt.image.RenderedImagecopyData in class AbstractTiledRedpublic void genRect(java.awt.image.WritableRaster wr)
genRect in class AbstractTiledRed