From b54d4660408cc868757a56c301e5d1b617f663ed Mon Sep 17 00:00:00 2001 From: Michael Herzog Date: Tue, 5 Nov 2024 13:18:19 +0100 Subject: [PATCH] CSMShadowNode: Remove name collision. (#29811) --- examples/jsm/csm/CSMShadowNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' )