Shader Mobile/Bumped Specular not affected by Directional Light
Hello everyone,
I'm working on a 3D project on mobile (Android) and I have issues with build-in shaders.
I want a bumped Specular to be hit by the only one directional light in the scene (at the moment, the mesh simply goes black)
Even the bumped Specular (1 directional Light) shader gives black objects that can barely be affected by point lights
Those shaders are under /Mobile category. What else could I do ? I need my object to be affected by directional and has a normal map on it.
I'm using Unity 5.2.3f1. Thanks for your help !
Edit : Notice that the two issues were seen on my Android device (Samsung Galaxy Note III)
Answer by UDVTech · Aug 18, 2016 at 03:58 PM
I solved my problem.
There were no tangents for the mesh I imported, so I set "Calculate Tangents" in my model import settings and now the light hit them right.
For further information : http://answers.unity3d.com/questions/597849/shader-wants-tangents-but-the-mesh-doesnt-have-the-1.html
Note : It happened that this problem didn't occure on every android plateform. I have a collegue using an Asus Mobile tablet and it worked well - same model, same lighting.
Hope it helped !
Your answer
Follow this Question
Related Questions
shadow causing ridiculous frame rates and draw calls! 1 Answer
lighting don't work when I go to next scene 0 Answers
Mesh colored all black. Why would this be? 1 Answer
Why does everything turn black when i use custom skybox? 1 Answer
Why does the light disappear when compiling into WebGL? 0 Answers