Pārlūkot izejas kodu

Fix warning from Chrome when using comparison-sampler in both vertex and fragment shaders

Popov72 4 gadi atpakaļ
vecāks
revīzija
54950918b6
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Shaders/background.vertex.fx

+ 1 - 1
src/Shaders/background.vertex.fx

@@ -40,7 +40,7 @@ varying vec2 vDiffuseUV;
 #include<clipPlaneVertexDeclaration>
 
 #include<fogVertexDeclaration>
-#include<__decl__lightFragment>[0..maxSimultaneousLights]
+#include<__decl__lightVxFragment>[0..maxSimultaneousLights]
 
 #ifdef REFLECTIONMAP_SKYBOX
 varying vec3 vPositionUVW;