class BlockModelRenderer.AmbientOcclusionFace
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int[] |
vertexBrightness |
private float[] |
vertexColorMultiplier |
| Constructor and Description |
|---|
AmbientOcclusionFace() |
| Modifier and Type | Method and Description |
|---|---|
private int |
getAoBrightness(int br1,
int br2,
int br3,
int br4) |
private int |
getVertexBrightness(int b1,
int b2,
int b3,
int b4,
float w1,
float w2,
float w3,
float w4) |
void |
updateVertexBrightness(ILightReader worldIn,
BlockState state,
BlockPos centerPos,
Direction directionIn,
float[] faceShape,
java.util.BitSet shapeState) |
private final float[] vertexColorMultiplier
private final int[] vertexBrightness
public void updateVertexBrightness(ILightReader worldIn, BlockState state, BlockPos centerPos, Direction directionIn, float[] faceShape, java.util.BitSet shapeState)
private int getAoBrightness(int br1,
int br2,
int br3,
int br4)
private int getVertexBrightness(int b1,
int b2,
int b3,
int b4,
float w1,
float w2,
float w3,
float w4)