mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-03 09:22:45 +00:00
Made interactionSM shader sampler loop to use r_shadowMapSamples many iterations
This commit is contained in:
parent
7d6d8b4641
commit
4a68a5ef59
1 changed files with 2 additions and 2 deletions
|
@ -1277,8 +1277,8 @@ static void RB_RenderInteractions( const drawSurf_t* surfList, const viewLight_t
|
|||
float screenCorrectionParm[4];
|
||||
screenCorrectionParm[0] = 1.0f / ( JITTER_SIZE * r_shadowMapSamples.GetInteger() ) ;
|
||||
screenCorrectionParm[1] = 1.0f / JITTER_SIZE;
|
||||
screenCorrectionParm[2] = 0.0f;
|
||||
screenCorrectionParm[3] = 1.0f;
|
||||
screenCorrectionParm[2] = 1.0f / shadowMapResolutions[vLight->shadowLOD];
|
||||
screenCorrectionParm[3] = r_shadowMapSamples.GetInteger();
|
||||
SetFragmentParm( RENDERPARM_SCREENCORRECTIONFACTOR, screenCorrectionParm ); // rpScreenCorrectionFactor
|
||||
|
||||
float jitterTexScale[4];
|
||||
|
|
Loading…
Reference in a new issue