Anis 10 years ago
parent
commit
f05b1b5cbd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp

+ 1 - 1
Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp

@@ -1813,7 +1813,7 @@ void ReflectCubeFeatGLSL::processPix(  Vector<ShaderComponent*> &componentList,
    else
    {
       if ( attn )
-         lerpVal = new GenOp( "saturate( @ ).xxxx", attn );
+         lerpVal = new GenOp( "vec4( saturate( @ ) ).xxxx", attn );
       else
          blendOp = Material::Mul;
    }