Преглед на файлове

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;