Skip to content
Snippets Groups Projects
Commit d3365582 authored by David Parks's avatar David Parks
Browse files

Reenable water fog in materialF.glsl (oops)

parent ca5cc79d
No related branches found
No related tags found
No related merge requests found
...@@ -421,16 +421,16 @@ void main() ...@@ -421,16 +421,16 @@ void main()
color = scaleSoftClipFrag(color); color = scaleSoftClipFrag(color);
/*#ifdef WATER_FOG #ifdef WATER_FOG
vec4 temp = applyWaterFogView(pos, vec4(color.rgb, al)); vec4 temp = applyWaterFogView(pos, vec4(color.rgb, al));
color.rgb = temp.rgb; color.rgb = temp.rgb;
al = temp.a; al = temp.a;
#endif*/ #endif
} }
color.rgb = linear_to_srgb(color.rgb);
color.rgb = linear_to_srgb(color.rgb);
frag_color = vec4(color, al); frag_color = vec4(color, al);
#else // mode is not DIFFUSE_ALPHA_MODE_BLEND, encode to gbuffer #else // mode is not DIFFUSE_ALPHA_MODE_BLEND, encode to gbuffer
......
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