From 96a4ec1713d5e60bea74ae901c0f515585e7dcd3 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Tue, 8 Oct 2019 11:49:54 +0300
Subject: [PATCH] Increase splat accum smoothing

---
 components/renderers/cpp/src/splatter.cu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/renderers/cpp/src/splatter.cu b/components/renderers/cpp/src/splatter.cu
index 70be6c7ba..253072ca9 100644
--- a/components/renderers/cpp/src/splatter.cu
+++ b/components/renderers/cpp/src/splatter.cu
@@ -392,7 +392,7 @@ __global__ void dibr_attribute_contrib_kernel(
     const float d = (float)depth_in.tex2D((int)screenPos.x, (int)screenPos.y) / 1000.0f;
 
 	const A input = generateInput(in.tex2D(x, y), params, worldPos);
-	const float weight = ftl::cuda::weighting(fabs(camPos.z - d), 0.002f);
+	const float weight = ftl::cuda::weighting(fabs(camPos.z - d), 0.02f);
 	const B weighted = make<B>(input) * weight; //weightInput(input, weight);
 
 	if (weight > 0.0f) {
-- 
GitLab