Hi,
Is it possible to get the rendered image data attached to a camera.
Something like an array reprenting pixels color which will be printed if you choose to display this camera.
Accessing something like a printscreen image without showing it on the screen.
It could be for example to make a hiding detection.
I attached a camera to an ennemy, with very low render quality, where world is white and the player is black, then computing the sum of the pixels color to know if the ennemy can see the player.
I know I could use thing like rayshooting but this isn’t the same precision, and can’t take to account things like alpha-channeled objects.
Thanks a lot.