From 5fa1c0ec5b2b59db3858a7dfe9f4001eeeff8cc9 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 23 Feb 2026 20:20:31 -0800 Subject: Add ambient occlusion & normal filtering --- Scripts/make_dfg_lut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Scripts/make_dfg_lut.py') diff --git a/Scripts/make_dfg_lut.py b/Scripts/make_dfg_lut.py index 05794ff..d58f3cf 100755 --- a/Scripts/make_dfg_lut.py +++ b/Scripts/make_dfg_lut.py @@ -182,8 +182,8 @@ def calculate_pixel(coords, resolution, brdf_type, num_samples): u = (x + 0.5) / resolution v = (y + 0.5) / resolution - roughness = saturate(u) - NoV = saturate(v) + NoV = saturate(u) + roughness = saturate(v) if NoV < 1e-4: return x, y, 0.0, 0.0, 0.0 r, g = 0.0, 0.0 -- cgit v1.2.3