mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-16 08:42:23 +00: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