Skip to content

Commit

Permalink
CSMShadowNode: Remove name collision. (#29811)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Nov 5, 2024
1 parent 5f8c2fb commit b54d466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/jsm/csm/CSMShadowNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class CSMShadowNode extends Node {

setupFade() {

const cameraNear = reference( 'camera.near', 'float', this ).setGroup( renderGroup ).label( 'cameraNear' );
const cameraNear = reference( 'camera.near', 'float', this ).setGroup( renderGroup );
const cascades = reference( '_cascades', 'vec2', this ).setGroup( renderGroup ).label( 'cacades' );

const shadowFar = uniform( 'float' ).setGroup( renderGroup ).label( 'shadowFar' )
Expand Down Expand Up @@ -327,7 +327,7 @@ class CSMShadowNode extends Node {

setupStandard() {

const cameraNear = reference( 'camera.near', 'float', this ).setGroup( renderGroup ).label( 'cameraNear' );
const cameraNear = reference( 'camera.near', 'float', this ).setGroup( renderGroup );
const cascades = reference( '_cascades', 'vec2', this ).setGroup( renderGroup ).label( 'cacades' );

const shadowFar = uniform( 'float' ).setGroup( renderGroup ).label( 'shadowFar' )
Expand Down

0 comments on commit b54d466

Please sign in to comment.