summaryrefslogtreecommitdiffstats
path: root/Scripts/make_dfg_lut.py
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/make_dfg_lut.py')
-rwxr-xr-xScripts/make_dfg_lut.py4
1 files changed, 2 insertions, 2 deletions
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