Quick workaround to fix issue with simple geom not rendering in deferred 'underwater' pass.

This commit is contained in:
Shyotl
2014-07-21 20:28:23 -05:00
parent 16fe6d0dcf
commit cd85afc9a5

View File

@@ -39,10 +39,10 @@ void default_lighting_water()
{ {
vec4 color = diffuseLookup(vary_texcoord0.xy) * vertex_color; vec4 color = diffuseLookup(vary_texcoord0.xy) * vertex_color;
if(color.a < .004) /*if(color.a < .004)
{ {
discard; discard;
} }*/
color.rgb = atmosLighting(color.rgb); color.rgb = atmosLighting(color.rgb);