mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Merge pull request #734 from Azaezel/alpha40/bakefix
fix probe baking typo
This commit is contained in:
commit
21c72f6b53
1 changed files with 1 additions and 1 deletions
|
|
@ -190,6 +190,6 @@ float4 main(PFXVertToPix IN) : SV_TARGET
|
||||||
#if CAPTURING == 1
|
#if CAPTURING == 1
|
||||||
return float4(lerp(surface.baseColor.rgb,(irradiance + specular* horizon) ,surface.metalness/2),0);
|
return float4(lerp(surface.baseColor.rgb,(irradiance + specular* horizon) ,surface.metalness/2),0);
|
||||||
#else
|
#else
|
||||||
return result = float4((irradiance + specular* horizon) , 0);//alpha writes disabled
|
return float4((irradiance + specular* horizon) , 0);//alpha writes disabled
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue