X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fparentheses.glsl;h=32651ac97fd60bcd989754431e980aa5c9a6ee11;hp=9899c49ed72aecfcc3f5de72c39f817a2c077880;hb=3f44e477f81983c66947fe8a6d8640a3b2f9e0b3;hpb=03880839dcd2c067061ac5491083159a9fd06611 diff --git a/tests/glsl/parentheses.glsl b/tests/glsl/parentheses.glsl index 9899c49e..32651ac9 100644 --- a/tests/glsl/parentheses.glsl +++ b/tests/glsl/parentheses.glsl @@ -64,6 +64,6 @@ in vec2 _vs_out_texcoord; in vec3 _vs_out_normal; void main() { - frag_color = vec4(material_color*(light.ambient+light.color*light.intensity*max(dot(light.dir, normalize(_vs_out_normal)), 0.0))*float(texture(occlusion_map, _vs_out_texcoord)), 1.0); + frag_color = vec4(material_color*(light.ambient+light.color*light.intensity*max(dot(light.dir, normalize(_vs_out_normal)), 0.0))*float(texture(occlusion_map, _vs_out_texcoord).x), 1.0); } */