Explorar el Código

Shaders: Add deprecation note (#33729)

WestLangley hace 1 semana
padre
commit
d4daf9b7b1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/renderers/shaders/ShaderChunk/common.glsl.js

+ 1 - 1
src/renderers/shaders/ShaderChunk/common.glsl.js

@@ -64,7 +64,7 @@ vec3 transformDirection( in vec3 dir, in mat4 matrix ) {
 
 
 }
 }
 
 
-#define inverseTransformDirection transformDirectionByInverseViewMatrix // keeping this for backwards compatibility
+#define inverseTransformDirection transformDirectionByInverseViewMatrix // @deprecated r185
 
 
 vec3 transformNormalByInverseViewMatrix( in vec3 normal, in mat4 viewMatrix ) {
 vec3 transformNormalByInverseViewMatrix( in vec3 normal, in mat4 viewMatrix ) {
 
 

粤ICP备19079148号