mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 19:25:15 +01:00
Merge pull request #350 from mikeprimm/master
Fix biome shading on normal worlds
This commit is contained in:
commit
98dee3b404
@ -87,7 +87,7 @@ public class TexturePackHDShader implements HDShader {
|
||||
c = new Color();
|
||||
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
|
||||
/* 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
|
||||
|
Loading…
Reference in New Issue
Block a user