I want a mesh that is shaded but not affected by light. Is there a simple way
Answer by Ashkan_gc
May 03, 2010 at 06:29 PM
you need to write a special shader. shadows are result of lights sources. so you need to write a shaer that calculate the shadow but don't affect the color of mesh's material. i don't know much about shader programming so i can not help.
Ashkan you have still much to learn lol :D
There is the UNLIT shader that allows flat "shading" with texturing at no expense, it's also a lot quicker in render :)
thank you for the info. everyone has much to learn. even big guys like M.abrash and our lovely heros at UT need to learn. man beeing knows nothing compared to available knowledge in this complex great and beautiful (green) world.
Answer by naruse
Mar 22, 2010 at 01:02 PM
you can add a light map to it.
Ligthmaps doesn't works with shadows.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
No one has followed this question yet.
Glass shadow problem
Colored Lights on a Light/Shadow Only Shader
Custom Lighting shader issue w Spot/Point lights and atten
Help with making a water shader receive light