public class VertexLighterSmoothAo extends VertexLighterFlat
blockInfo, colorIndex, lightmapIndex, NORMAL_4F, normalIndex, posIndex
dataLength, 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, setTexture, setWorld
getVertexFormat, put, setVertexFormat
public VertexLighterSmoothAo(BlockColors colors)
protected void updateLightmap(float[] normal, float[] lightmap, float x, float y, float z)
updateLightmap
in class VertexLighterFlat
protected void updateColor(float[] normal, float[] color, float x, float y, float z, float tint, int multiplier)
updateColor
in class VertexLighterFlat
protected 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