Gl error 1280 on device for WRAP_CLAMP_TO_BORDER

As you said, I did something like this. But I’m not properly test it yet, seems OK so far :smiley:

  if (depth_data.t > 1.0 || depth_data.s > 1.0)
    shadow = 1.0;
1 Like