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.
toVar()
1 parent a880e76 commit 868515fCopy full SHA for 868515f
src/nodes/lighting/ProjectorLightNode.js
@@ -63,7 +63,7 @@ class ProjectorLightNode extends SpotLightNode {
63
*/
64
getSpotAttenuation( builder ) {
65
66
- const attenuation = float( 0 ).toVar();
+ const attenuation = float( 0 );
67
const penumbraCos = this.penumbraCosNode;
68
69
// compute the fragment's position in the light's clip space
0 commit comments