public class VertexLighterSmoothAo extends VertexLighterFlat
baseFormat, blockInfo, colorIndex, lightmapIndex, NORMAL_4F, normalIndex, pose, 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) |
processQuad, resetBlockInfo, setApplyDiffuseLighting, setBlockPos, setParent, setQuadCulled, setQuadOrientation, setQuadTint, setState, setTexture, setTransform, setVertexFormat, setWorld, withNormal
getVertexFormat, put
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