#version 460
#extension GL_EXT_ray_tracing : require

layout(location = 0) rayPayloadInEXT float payload;

void main()
{
    if (payload > 0.0)
    {
        ignoreIntersectionEXT;
    }
    else
    {
        terminateRayEXT;
    }
}

