Raytracer FOV changing with resolution
🌙 Lua•Updated 2 days ago•0 views
The ray direction math needs the FOV angle factored in - multiply the horizontal offset by tan(fov/2) so the projected angle stays constant regardless of pixel …
How to fix raytracer math so FOV doesn't change when resolution changes
The ray direction math needs the FOV angle factored in - multiply the horizontal offset by tan(fov/2) so the projected angle stays constant regardless of pixel resolution.