You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From this, we know that get_rng = [ 0, 0.9999999999999 ] (since the blue noise is unorm r16).
Therefore, pixel_offset would always be in range [ 0, 0.5 >, not [ -.5, .5 > which is required to sample all volume of the pixel (relative to the center 0.5,0.5 pixel).
As provided by this formula of the box muller transform, which always returns <0,1] when [0,1> are provided.
This means the .5,.5;1,1 area is the only part of the pixel that is traced.
Unless this is required for TAA for some reason, I'd imagine the pixel_offset needs to be:
https://github.com/cschied/q2vkpt/blob/master/src/refresh/vkpt/shader/path_tracer.h#L464 shows the code:
and get_rng returns
From this, we know that get_rng = [ 0, 0.9999999999999 ] (since the blue noise is unorm r16).
Therefore, pixel_offset would always be in range [ 0, 0.5 >, not [ -.5, .5 > which is required to sample all volume of the pixel (relative to the center 0.5,0.5 pixel).
As provided by this formula of the box muller transform, which always returns <0,1] when [0,1> are provided.
This means the .5,.5;1,1 area is the only part of the pixel that is traced.
Unless this is required for TAA for some reason, I'd imagine the pixel_offset needs to be:
The text was updated successfully, but these errors were encountered: