Forge's correct AO
This commit is contained in:
1 parent
a699103aa4
commit
ea96c835cb
1 file changed
+1
-1
@@ -160,7 +160,7 @@ public class BlockRenderer {
|
||||
}
|
||||
|
||||
private LightMode getLightingMode(BlockState state, BakedModel model, BlockRenderView world, BlockPos pos) {
|
||||
if (this.useAmbientOcclusion && model.useAmbientOcclusion() && state.getLightEmission(world, pos) == 0) {
|
||||
if (this.useAmbientOcclusion && model.useAmbientOcclusion(state) && state.getLightEmission(world, pos) == 0) {
|
||||
return LightMode.SMOOTH;
|
||||
} else {
|
||||
return LightMode.FLAT;
|
||||
|
||||
Reference in new issue
Block a user