Skip to content
Snippets Groups Projects

Implements #133 point alignment

Merged Nicolas Pope requested to merge feature/133/ilw into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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);
Loading