mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
Fix a possible permutation issue
This commit is contained in:
parent
9ddee8fd8c
commit
ce6aab89cf
@ -297,6 +297,7 @@ namespace Terrain
|
|||||||
sh::makeProperty (new sh::BooleanValue(useSpecular)));
|
sh::makeProperty (new sh::BooleanValue(useSpecular)));
|
||||||
boost::hash_combine(normalMaps, useNormalMap);
|
boost::hash_combine(normalMaps, useNormalMap);
|
||||||
boost::hash_combine(normalMaps, useNormalMap && layer.mParallax);
|
boost::hash_combine(normalMaps, useNormalMap && layer.mParallax);
|
||||||
|
boost::hash_combine(normalMaps, useSpecular);
|
||||||
|
|
||||||
if (i+layerOffset > 0)
|
if (i+layerOffset > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user