fixed accumulation angle + initial shadow jitter

This commit is contained in:
WoMspace
2023-01-19 21:37:27 +00:00
parent d5503d4a22
commit dd4e5f2e98
9 changed files with 46 additions and 9 deletions

View File

@ -267,7 +267,7 @@ void main() {
#ifdef DOF_JITTER
vec2 jitter = clamp(jitter_offsets[frameCounter % 64], -1.0, 1.0);
jitter = rotate(frameCounter) * jitter;
jitter = rotate(radians(frameCounter)) * jitter;
jitter.y *= aspectRatio;
jitter.x *= DOF_ANAMORPHIC_RATIO;