The RayJob keeps track of the amount of rays to be sent to the ray engine. However, the camera film has a variable resolution (uvec2) which nearly does the same thing. All the logic should be through the film as it is the point of entry to casting a ray.
The RayJob keeps track of the amount of rays to be sent to the ray engine. However, the camera film has a variable resolution (uvec2) which nearly does the same thing. All the logic should be through the film as it is the point of entry to casting a ray.