Hi,
Maybe I'm doing something wrong, but form MSL 2.4 spec, sample_compare should return either 0 or 1.
I'm on a MBP 16 M1 Pro, Monterey 12.3.1 and Xcode 13.3.1.
Now, I'm receiving a value in between. Coordinates, sampler etc.. seems correct:
shadow = 0.125:
Sorry, in the image is not seen, but "i == 0" and shadow_map is a texture with four slices.
Thanks