Class VertexLighterSmoothAo
java.lang.Object
net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
net.minecraftforge.client.model.pipeline.VertexLighterFlat
net.minecraftforge.client.model.pipeline.VertexLighterSmoothAo
- All Implemented Interfaces:
IVertexConsumer
-
Field Summary
Fields inherited from class net.minecraftforge.client.model.pipeline.VertexLighterFlat
baseFormat, blockInfo, colorIndex, lightmapIndex, NORMAL_4F, normalIndex, pose, posIndex
Fields inherited from class net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
dataLength, format, parent, quadData, vertices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
calcLightmap
(float[][][][] light, float x, float y, float z) protected float
getAo
(float x, float y, float z) void
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) Methods inherited from class net.minecraftforge.client.model.pipeline.VertexLighterFlat
processQuad, resetBlockInfo, setApplyDiffuseLighting, setBlockPos, setParent, setQuadCulled, setQuadOrientation, setQuadTint, setState, setTexture, setTransform, setVertexFormat, setWorld, withNormal
Methods inherited from class net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
getVertexFormat, put
-
Constructor Details
-
VertexLighterSmoothAo
-
-
Method Details
-
updateLightmap
protected void updateLightmap(float[] normal, float[] lightmap, float x, float y, float z) - Overrides:
updateLightmap
in classVertexLighterFlat
-
updateColor
protected void updateColor(float[] normal, float[] color, float x, float y, float z, float tint, int multiplier) - Overrides:
updateColor
in classVertexLighterFlat
-
calcLightmap
protected float calcLightmap(float[][][][] light, float x, float y, float z) -
getAo
protected float getAo(float x, float y, float z) -
updateBlockInfo
public void updateBlockInfo()- Overrides:
updateBlockInfo
in classVertexLighterFlat
-