#version 460 #extension GL_NV_shader_invocation_reorder : enable #extension GL_NV_linear_swept_spheres : enable void main() { hitObjectNV hObj; bool temp = hitObjectIsSphereHitNV(hObj); vec3 pos = hitObjectGetSpherePositionNV(hObj); float rad = hitObjectGetSphereRadiusNV(hObj); }