Hey guys,this may be a noob question,Does goemetry which posses unlit shader require normals or I can turn it off in import settings(which helps me in batching,takes 1/3 of total vertex limit)…?
1 Answer
1It is probably fine to turn off normals; probably the easiest way to check is just give it a try; you can always turn them back on if you run into problems.
If you want to be sure, you can check out the actual shader code and see if it makes use of normals. But “unlit” will be a pretty good indicator that it probably doesn’t use normals. It is still possible to use normals for some esoteric purpose, though.
One other note: I found that the Unity default shader uses normals, so sometimes when I disable normals on a mesh, I occasionally get log warnings that “Shader wants normals, but mesh doesn’t have them.” That just means that Unity is trying to render the mesh using the default shader (maybe in a preview window or something), but the mesh has no normals because you turned them off in import settings.
Thanks man.. :-)
– sethuraj