From af46f00f2127e9a380e5ed0995d5d1fa51787787 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Wed, 2 Oct 2019 20:26:35 +0300 Subject: [PATCH] Show discon as red --- 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 de3902b6c..6f94b7636 100644 --- a/components/renderers/cpp/src/splatter.cu +++ b/components/renderers/cpp/src/splatter.cu @@ -104,7 +104,7 @@ __global__ void dibr_attribute_contrib_kernel( //if (abs(d - camPos.z) > DEPTH_THRESHOLD) return; const float4 colour = (params.m_flags & ftl::render::kShowDisconMask && worldPos.w < 0.0f) ? - make_float4(0.0f,0.0f,255.0f,255.0f) : + make_float4(0.0f,0.0f,255.0f,255.0f) : // Show discontinuity mask in red make_float4(colour_in.tex2D(x, y)); //const float4 normal = tex2D<float4>(camera.normal, x, y); -- GitLab