1
\$\begingroup\$

I have a GUI Texture that dims the screen, however I want certain game objects to not be dimmed. I tried putting them in front of the GUI Texture, but it doesn't work. How can I do this?

\$\endgroup\$
3
  • \$\begingroup\$ If you want something in front of a GUITexture, you'll need to create a second Camera, disable its GUI Layer component, and change the camera's depth so that it renders on top. \$\endgroup\$ Jan 23, 2016 at 23:57
  • \$\begingroup\$ I did that, then I tried bringing the game object behind the main camera, but in front of the depth-only camera, but the object wasn't appearing. And if I tried changing the depths, then the GUI texture would disappear. \$\endgroup\$ Jan 24, 2016 at 0:11
  • \$\begingroup\$ Make second camera skybox to don't clear :) \$\endgroup\$ Jan 24, 2016 at 7:02

1 Answer 1

0
\$\begingroup\$

Apparently the GUI texture hides everything that is not GUI, so I removed it altogether and put a semi-transparent black plane. Problem solved.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .