Download

Custom switch/pass in material during capture 2D

Hi,
Is there any way to detect in material or set in mesh to use other material if object is rendered during screen capture 2d ?
The best will be to switch material in some way, because when I use screen capture 2D I want to render object with cheap unlit material.

Not in stock engine. You have, however, one trick. If something unique identifies your scene capture( camera position? aspect ratio? resolution?), you can use that info to alter material to be different in scene capture and other views.

1 Like

That is really interesting. I never knew this worked.

1 Like