We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42048f8 commit 2f1c6c0Copy full SHA for 2f1c6c0
src/nodes/lighting/LightsNode.js
@@ -127,9 +127,10 @@ class LightsNode extends Node {
127
if ( light.isSpotLight === true ) {
128
129
const hashMap = ( light.map !== null ) ? light.map.id : - 1;
130
+ const hashMapVersion = ( light.map !== null ) ? light.map.version : - 1;
131
const hashColorNode = ( light.colorNode ) ? light.colorNode.getCacheKey() : - 1;
132
- _hashData.push( hashMap, hashColorNode );
133
+ _hashData.push( hashMap, hashMapVersion, hashColorNode );
134
135
}
136
0 commit comments