mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-16 13:13:53 +00:00
take ao slot in the gbuffer into account by the simple expedient of multiplying the cast-shadow result by the channel
This commit is contained in:
parent
de5ef2d63f
commit
4541a9d4a8
2 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ void main()
|
|||
// temp for debugging. uncomment one or the other.
|
||||
//float shadowed = static_shadowed;
|
||||
//float shadowed = dynamic_shadowed;
|
||||
float shadowed = min(static_shadowed, dynamic_shadowed);
|
||||
float shadowed = min(static_shadowed, dynamic_shadowed)*matInfo.g;
|
||||
|
||||
#ifdef PSSM_DEBUG_RENDER
|
||||
if ( fadeOutAmt > 1.0 )
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ PS_OUTPUT main(FarFrustumQuadConnectP IN)
|
|||
// temp for debugging. uncomment one or the other.
|
||||
//float shadowed = static_shadowed;
|
||||
//float shadowed = dynamic_shadowed;
|
||||
float shadowed = min(static_shadowed, dynamic_shadowed);
|
||||
float shadowed = min(static_shadowed, dynamic_shadowed)*matInfo.g;
|
||||
|
||||
#ifdef PSSM_DEBUG_RENDER
|
||||
if (fadeOutAmt > 1.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue