Skip to content

Commit 868515f

Browse files
authored
ProjectorLightNode: Remove obsolete toVar(). (#31474)
1 parent a880e76 commit 868515f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodes/lighting/ProjectorLightNode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ProjectorLightNode extends SpotLightNode {
6363
*/
6464
getSpotAttenuation( builder ) {
6565

66-
const attenuation = float( 0 ).toVar();
66+
const attenuation = float( 0 );
6767
const penumbraCos = this.penumbraCosNode;
6868

6969
// compute the fragment's position in the light's clip space

0 commit comments

Comments
 (0)