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, posIndexFields inherited from class net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
dataLength, format, parent, quadData, vertices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatcalcLightmap(float[][][][] light, float x, float y, float z) protected floatgetAo(float x, float y, float z) voidprotected voidupdateColor(float[] normal, float[] color, float x, float y, float z, float tint, int multiplier) protected voidupdateLightmap(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, withNormalMethods 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:
updateLightmapin classVertexLighterFlat
-
updateColor
protected void updateColor(float[] normal, float[] color, float x, float y, float z, float tint, int multiplier) - Overrides:
updateColorin 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:
updateBlockInfoin classVertexLighterFlat
-