Merge pull request #350 from mikeprimm/master

Fix biome shading on normal worlds
This commit is contained in:
mikeprimm 2011-07-31 08:40:23 -07:00
commit 98dee3b404

View File

@ -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