public class VertexLighterSmoothAo extends VertexLighterFlat
baseFormat, 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 void |
calcLightmap(float[] lightmap,
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, resetBlockInfo, setApplyDiffuseLighting, setBlockPos, setParent, setQuadCulled, setQuadOrientation, setQuadTint, setState, setTexture, 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 void calcLightmap(float[] lightmap, float x, float y, float z)
protected float getAo(float x, float y, float z)
public void updateBlockInfo()
updateBlockInfo
in class VertexLighterFlat