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