- Home /
Made a HUD with planes and need it to ignore lights.
I have a plane in front of the camera that I use for HUD elements. Whenever I move into a shadow the HUD also darkens (it is kind of cool but not what i want).I know how to do this in Maya and Max but I don't see a way to do it with Unity (the free version). How do I set the texture of the plan to ignore my directional light? Can anyone think of an easy way?
Note: I am not a pro, so if it comes to "You have to create a custom shader", I didn't understand how that worked. Can you explain how to make that and install it? The simplest way is fine for this game.
Answer by Eric5h5 · Jun 14, 2013 at 10:15 PM
Use one of the built-in unlit shaders.
I am embarrassed that I missed that. I was so hell bent on doing it my way that I missed the unlit shaders.
The good news is that it didn't require anything complicated. :)
Answer by DGDGJOHN · Feb 09, 2016 at 11:26 PM
You can also just turn off casting and receiving shadows on that plane.
Your answer
Follow this Question
Related Questions
Assigning UV Map to model at runtime 0 Answers
Material Behaviour 0 Answers
Unity lighting question on finding how much light a material is receiving 0 Answers
Unity lightning problem (wood) 0 Answers
blending materials with sliders 2 Answers