Skip to content
Snippets Groups Projects
Commit 0837b65f authored by Ptolemy's avatar Ptolemy
Browse files

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

parent a185fae2
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ uniform sampler2D diffuseMap; ...@@ -38,7 +38,7 @@ uniform sampler2D diffuseMap;
VARYING vec4 vertex_color; VARYING vec4 vertex_color;
VARYING vec2 vary_texcoord0; VARYING vec2 vary_texcoord0;
VARYING vec3 vary_texcoord1; VARYING vec3 vary_texcoord1;
VARYING vec4 vary_position; VARYING vec3 vary_position;
uniform samplerCube environmentMap; uniform samplerCube environmentMap;
...@@ -74,7 +74,7 @@ void main() ...@@ -74,7 +74,7 @@ void main()
vec3 amblit; vec3 amblit;
vec3 additive; vec3 additive;
vec3 atten; 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); 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