Explorar el Código

Include <common> shader chunk in normal material

Garrett Johnson hace 6 años
padre
commit
78f852db24
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/renderers/shaders/ShaderLib/normal_vert.glsl.js

+ 1 - 0
src/renderers/shaders/ShaderLib/normal_vert.glsl.js

@@ -20,6 +20,7 @@ export default /* glsl */`
 
 #endif
 
+#include <common>
 #include <uv_pars_vertex>
 #include <displacementmap_pars_vertex>
 #include <morphtarget_pars_vertex>