Merge pull request #350 from mikeprimm/master
Fix biome shading on normal worlds
This commit is contained in:
commit
662db1f4c4
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ public class TexturePackHDShader implements HDShader {
|
||||||
c = new Color();
|
c = new Color();
|
||||||
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
|
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
|
||||||
/* Biome raw data only works on normal worlds at this point */
|
/* Biome raw data only works on normal worlds at this point */
|
||||||
do_biome_shading = biome_shaded && (cache.getWorld().getEnvironment() != Environment.NORMAL);
|
do_biome_shading = biome_shaded && (cache.getWorld().getEnvironment() == Environment.NORMAL);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Get our shader
|
* Get our shader
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue