diff --git a/components/renderers/cpp/src/reprojection.cu b/components/renderers/cpp/src/reprojection.cu index 53ec03ebb0afc6df47f61a8f457856db66395864..ed5580ac5ad99c0588b0cf3c5b7f210f7bf46682 100644 --- a/components/renderers/cpp/src/reprojection.cu +++ b/components/renderers/cpp/src/reprojection.cu @@ -88,7 +88,7 @@ __global__ void reprojection_kernel( const float d2 = depth_src.tex2D((int)screenPos.x, (int)screenPos.y); const A input = in.tex2D((int)screenPos.x, (int)screenPos.y); //generateInput(in.tex2D((int)screenPos.x, (int)screenPos.y), params, worldPos); - const float weight = 1.0f; //ftl::cuda::weighting(fabs(camPos.z - d2), 0.02f); + const float weight = ftl::cuda::weighting(fabs(camPos.z - d2), 0.02f); const B weighted = make<B>(input) * weight; //weightInput(input, weight); if (weight > 0.0f) {