As you said, I did something like this. But I’m not properly test it yet, seems OK so far
if (depth_data.t > 1.0 || depth_data.s > 1.0)
shadow = 1.0;
As you said, I did something like this. But I’m not properly test it yet, seems OK so far
if (depth_data.t > 1.0 || depth_data.s > 1.0)
shadow = 1.0;