@@ -1548,7 +1548,7 @@ function WebGLRenderer( parameters ) {
// store the light setup it was created for
if ( materialProperties.lightsHash === undefined ) {
- materialProperties.lightsHash = {};
+ materialProperties.lightsHash = {};
}
@@ -111,13 +111,13 @@ function WebGLLights() {
id: count ++,
hash: {
- stateID: -1,
- directionalLength: -1,
- pointLength: -1,
- spotLength: -1,
- rectAreaLength: -1,
- hemiLength: -1,
- shadowsLength: -1
+ stateID: - 1,
+ directionalLength: - 1,
+ pointLength: - 1,
+ spotLength: - 1,
+ rectAreaLength: - 1,
+ hemiLength: - 1,
+ shadowsLength: - 1
},
ambient: [ 0, 0, 0 ],