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
public class VertexLighterSmoothAo extends VertexLighterFlat
-
-
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
Constructors Constructor Description VertexLighterSmoothAo(BlockColors colors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
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 Detail
-
VertexLighterSmoothAo
public VertexLighterSmoothAo(BlockColors colors)
-
-
Method Detail
-
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
-
-