mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-31 01:55:15 +00:00
gl needs OUT_col filled out to return anything
This commit is contained in:
parent
681dbe108c
commit
a0d3f27c1a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue