0
0
Fork 0
mirror of https://github.com/id-Software/DOOM-3-BFG.git synced 2025-03-15 15:11:29 +00:00
This commit is contained in:
Robert Beckebans 2016-07-03 15:40:03 +02:00
parent 9a340f3914
commit 8a99249cfd

View file

@ -393,10 +393,10 @@ void main( PS_IN fragment, out PS_OUT result )
// Hash function used in the HPG12 AlchemyAO paper // Hash function used in the HPG12 AlchemyAO paper
float randomPatternRotationAngle = float( ( ( 3 * ssP.x ) ^ ( ssP.y + ssP.x * ssP.y ) ) float randomPatternRotationAngle = float( ( ( 3 * ssP.x ) ^ ( ssP.y + ssP.x * ssP.y ) )
#if TEMPORALLY_VARY_TAPS #if TEMPORALLY_VARY_TAPS
+ rpJitterTexOffset.x + rpJitterTexOffset.x
#endif #endif
) * 10.0; ) * 10.0;
// Choose the screen-space sample radius // Choose the screen-space sample radius
// proportional to the projected area of the sphere // proportional to the projected area of the sphere
float ssDiskRadius = -projScale * radius / C.z; float ssDiskRadius = -projScale * radius / C.z;