Selaa lähdekoodia

Merge pull request #6969 from julien-moreau/master

Fixed broken Volumetric Light Post-Process pass #6917
David Catuhe 5 vuotta sitten
vanhempi
commit
81e428dd38
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/Shaders/volumetricLightScatteringPass.vertex.fx

+ 2 - 0
src/Shaders/volumetricLightScatteringPass.vertex.fx

@@ -34,6 +34,8 @@ void main(void)
 
 #include<bonesVertex>
 
+    gl_Position = viewProjection * finalWorld * vec4(positionUpdated, 1.0);
+
 #if defined(ALPHATEST) || defined(BASIC_RENDER)
 #ifdef UV1
 	vUV = vec2(diffuseMatrix * vec4(uvUpdated, 1.0, 0.0));