fixed radians on nvidia

This commit is contained in:
WoMspace
2023-01-21 20:28:28 +00:00
parent dd4e5f2e98
commit 8102fefdb3
5 changed files with 5 additions and 5 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(radians(frameCounter)) * jitter;
jitter = rotate(radians(float(frameCounter))) * jitter;
jitter.y *= aspectRatio;
jitter.x *= DOF_ANAMORPHIC_RATIO;