Skip to content

Commit 3ec8849

Browse files
sunagmrdoob
authored andcommitted
fix physical node material
1 parent f246afd commit 3ec8849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/nodes/materials/StandardNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ THREE.StandardNode.prototype.build = function( builder ) {
302302

303303
output.push(
304304
environment.code,
305-
"RE_IndirectSpecular(" + environment.result + ", geometry, material, reflectedLight );"
305+
"RE_IndirectSpecular_Physical(" + environment.result + ", vec3( 0.0 ), geometry, material, reflectedLight );"
306306
);
307307

308308
}

0 commit comments

Comments
 (0)