Is there a way to get the infos from the 4 rays the camera casts to determine the frustrum planes ? I want to use those rays to detect when they collide with the floor so I can get the 4 points on my plane between the camera can see.
Or is there another way do achieve this than using rays ? I wanna do this to split my floor into multiple areas and detect with areas are seen by the camera.
You can’t get those rays, because they don’t exist. Real-time rendering normally uses the painter’s algorithm and not raytracing. You can calculate them yourself and cast the rays pretty easily since you have the camera’s position, fov and aspect ratio.
I don’t know what you mean by " the 4 rays the camera casts to determine the frustrum planes", but you don’t need to do any math at all. You can get any rays coming out from the camera using that function.