Hello,

I have a scene with a cube and a full screen quad. Whenever the camera clips with the cube I need to transform the full screen quad vertices positions to the object space coordinates of the cube (and I need to do it in the full screen quad fragment shader). I already know when the camera clips with the cube but i’m not entirely sure on how to do the transformation, so any help is appreciated.