diff --git a/examples/jsm/csm/CSMShadowNode.js b/examples/jsm/csm/CSMShadowNode.js index a6d261e873298a..ad5d8ffa74f840 100644 --- a/examples/jsm/csm/CSMShadowNode.js +++ b/examples/jsm/csm/CSMShadowNode.js @@ -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' ) @@ -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' )