소스 검색

Fix glowBlurP.glsl shader.

LuisAntonRebollo 10 년 전
부모
커밋
4e530f413e
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Templates/Empty/game/shaders/common/postFx/gl/glowBlurP.glsl
  2. 1 1
      Templates/Full/game/shaders/common/postFx/gl/glowBlurP.glsl

+ 1 - 1
Templates/Empty/game/shaders/common/postFx/gl/glowBlurP.glsl

@@ -40,7 +40,7 @@ void main()
 {
    vec4 kernel = vec4( 0.175, 0.275, 0.375, 0.475 ) * 0.5f;
    
-   vec4 OUT_col = vec4(0);
+   OUT_col = vec4(0);
    OUT_col += texture( diffuseMap, uv0 ) * kernel.x;
    OUT_col += texture( diffuseMap, uv1 ) * kernel.y;
    OUT_col += texture( diffuseMap, uv2 ) * kernel.z;

+ 1 - 1
Templates/Full/game/shaders/common/postFx/gl/glowBlurP.glsl

@@ -40,7 +40,7 @@ void main()
 {
    vec4 kernel = vec4( 0.175, 0.275, 0.375, 0.475 ) * 0.5f;
 
-   vec4 OUT_col = vec4(0);
+   OUT_col = vec4(0);
    OUT_col += texture( diffuseMap, uv0 ) * kernel.x;
    OUT_col += texture( diffuseMap, uv1 ) * kernel.y;
    OUT_col += texture( diffuseMap, uv2 ) * kernel.z;