mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-17 16:41:31 +00:00
Fix a possible permutation issue
This commit is contained in:
parent
9ddee8fd8c
commit
ce6aab89cf
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue