Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

Re: Opengl Shader Compiler issues with newer than 13.9 drivers on HD 5850

$
0
0

This line looks wrong:

 

  float vignette = vec2(1.0) - length(vec2(0.5) - vTexcoord) / length(vec2(0.5));

 

You're assigning a vec2 to a float. Change it to:

 

  float vignette = 1.0 - length(vec2(0.5) - vTexcoord) / length(vec2(0.5));

 

Thanks,

 

Graham


Viewing all articles
Browse latest Browse all 631

Trending Articles