From 520b0de700dca5c0f417d5d0b64839fb2b4a9beb Mon Sep 17 00:00:00 2001 From: hunterk Date: Tue, 28 Feb 2017 07:59:15 -0600 Subject: [PATCH] fix missing param in fast-bilateral --- denoisers/shaders/fast-bilateral.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denoisers/shaders/fast-bilateral.slang b/denoisers/shaders/fast-bilateral.slang index fef452a..736f1a2 100644 --- a/denoisers/shaders/fast-bilateral.slang +++ b/denoisers/shaders/fast-bilateral.slang @@ -88,7 +88,7 @@ void main() { float ds, sd2, si2; float sigma_d = 3.0; - float sigma_r = SIGMA_R*0.04; + float sigma_r = params.SIGMA_R*0.04; float3 color = float3(0.0, 0.0, 0.0); float3 wsum = float3(0.0, 0.0, 0.0);