mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 15:11:29 +00:00
Astyle
This commit is contained in:
parent
9a340f3914
commit
8a99249cfd
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue