File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -771,12 +771,12 @@ export const SHADER_FORWARD = 0;
771771
772772export const SHADER_PREPASS = 1 ;
773773
774+ // shadow pass used by the shadow rendering code
775+ export const SHADER_SHADOW = 2 ;
776+
774777// shader pass used by the Picker class to render mesh ID
775778export const SHADER_PICK = 3 ;
776779
777- // shadow pass used by the shadow rendering code
778- export const SHADER_SHADOW = 4 ;
779-
780780/**
781781 * Shader that performs forward rendering.
782782 *
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ class ShaderPass {
100100 // add default passes in the required order, to match the constants
101101 add ( 'forward' , SHADER_FORWARD , { isForward : true } ) ;
102102 add ( 'prepass' , SHADER_PREPASS ) ;
103- add ( 'pick' , SHADER_PICK ) ;
104103 add ( 'shadow' , SHADER_SHADOW ) ;
104+ add ( 'pick' , SHADER_PICK ) ;
105105 }
106106
107107 /**
You can’t perform that action at this time.
0 commit comments