Commit 7638b5f7 authored by MURRAY David's avatar MURRAY David

starting bilateral filtering for alpha smoothing

parent bf7377fa
Pipeline #107444 skipped with stage
......@@ -265,7 +265,7 @@ RT_PROGRAM void pathtrace_camera()
metrics_buffer[launch_index].alpha_comp += make_float2(toRad1, toRad2);
if((frame_number)%alpha_samples == 0)
if((all_metrics.nb_samples)%alpha_samples == 0)
{
float2 alpha_comp = metrics_buffer[launch_index].alpha_comp/(float)(alpha_samples);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment