Skip to content
Snippets Groups Projects
Commit d385c73b authored by Michael Pohoreski's avatar Michael Pohoreski
Browse files

Merged in ptolemy_fix_fullbright_shiny (pull request #1011)

DRTVWR-559: Fix fullbrightShiny not compiling on AMD due to type mismatch

Approved-by: Dave Parks
parents a185fae2 0837b65f
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ uniform sampler2D diffuseMap;
VARYING vec4 vertex_color;
VARYING vec2 vary_texcoord0;
VARYING vec3 vary_texcoord1;
VARYING vec4 vary_position;
VARYING vec3 vary_position;
uniform samplerCube environmentMap;
......@@ -74,7 +74,7 @@ void main()
vec3 amblit;
vec3 additive;
vec3 atten;
vec3 pos = vary_position.xyz/vary_position.w;
vec3 pos = vary_position.xyz;
calcAtmosphericVars(pos.xyz, vec3(0), 1.0, sunlit, amblit, additive, atten, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment