From e4483eca01b48b943cd0461e24a74ae1a3139ed4 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Wed, 12 Feb 2025 21:57:46 +1100 Subject: Update to most recent version (old initial commit) --- res/shaders/framebuffer.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/shaders/framebuffer.fs') diff --git a/res/shaders/framebuffer.fs b/res/shaders/framebuffer.fs index b644980..9a302a5 100644 --- a/res/shaders/framebuffer.fs +++ b/res/shaders/framebuffer.fs @@ -41,7 +41,7 @@ float linearise_depth(const float depth) { (2.0 * znear * zfar) / (zfar + znear - (z * (zfar - znear))); // Usually we would just return linear depth, but this is incorrect! We need // to account for the additional distance of the frustum away from the - // center of the screen. Just some trigonomety + // center of the screen. const float xsigma = tan(xfov * 0.5) * zfar * _f_texture.x; const float ysigma = tan(yfov * 0.5) * zfar * _f_texture.y; -- cgit v1.2.3