public class VertexLighterSmoothAo extends VertexLighterFlat
blockInfo, colorIndex, lightmapIndex, normalIndex, posIndexdataLength, format, parent, quadData, vertices| Constructor and Description |
|---|
VertexLighterSmoothAo(BlockColors colors) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
calcLightmap(float[][][][] light,
float x,
float y,
float z) |
protected float |
getAo(float x,
float y,
float z) |
void |
updateBlockInfo() |
protected void |
updateColor(float[] normal,
float[] color,
float x,
float y,
float z,
float tint,
int multiplier) |
protected void |
updateLightmap(float[] normal,
float[] lightmap,
float x,
float y,
float z) |
applyAnaglyph, processQuad, setApplyDiffuseLighting, setBlockPos, setParent, setQuadCulled, setQuadOrientation, setQuadTint, setState, setWorldgetVertexFormat, put, setVertexFormatpublic VertexLighterSmoothAo(BlockColors colors)
protected void updateLightmap(float[] normal,
float[] lightmap,
float x,
float y,
float z)
updateLightmap in class VertexLighterFlatprotected void updateColor(float[] normal,
float[] color,
float x,
float y,
float z,
float tint,
int multiplier)
updateColor in class VertexLighterFlatprotected float calcLightmap(float[][][][] light,
float x,
float y,
float z)
protected float getAo(float x,
float y,
float z)
public void updateBlockInfo()
updateBlockInfo in class VertexLighterFlat