gl needs OUT_col filled out to return anything

This commit is contained in:
AzaezelX 2020-10-03 12:30:21 -05:00
parent 681dbe108c
commit a0d3f27c1a

View file

@ -56,7 +56,8 @@ void main()
//early out if emissive
if (getFlag(surface.matFlag, 0))
{
return texture(colorBuffer, IN_uv0.xy);
OUT_col = vec4(surface.albedo, 0);
return;
}
#ifdef USE_SSAO_MASK