Skip to content
Snippets Groups Projects
Commit 6963c69c authored by Graham Linden's avatar Graham Linden
Browse files

NORSPEC-297 fix deferred fog using wrong ref point

parent d2855f9e
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ void main()
pos.w = 1.0;
pos = modelview_matrix*pos;
calcAtmospherics(view.xyz);
calcAtmospherics(pos.xyz);
//pass wave parameters to pixel shader
vec2 bigWave = (v.xy) * vec2(0.04,0.04) + d1 * time * 0.055;
......
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