소스 검색

bloom gl compile fix pt2.

AzaezelX 3 년 전
부모
커밋
d493f3b124
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_Bloom/bloomInitSample.glsl

+ 2 - 2
Templates/BaseGame/game/core/postFX/scripts/HDR/HDR_Bloom/bloomInitSample.glsl

@@ -24,9 +24,9 @@
 #include "core/rendering/shaders/postFX/gl/postFx.glsl"
 #include "core/rendering/shaders/gl/torque.glsl"
 #include "shadergen:/autogenConditioners.h"
-
+#line 27
 #define KERNEL_SAMPLES 4
-const vec2 KERNEL[9] = vec2[](
+const vec2 KERNEL[KERNEL_SAMPLES] = vec2[](
   vec2( 0.5, 0.5),
   vec2( 0.5,-0.5),
   vec2(-0.5,-0.5),