mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
Merge pull request #346 from Azaezel/alpha40_glCompilefix
gl needs OUT_col filled out to return anything
This commit is contained in:
commit
39083577c1
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