0
To nie jest błąd

Texures are black on android but works in unity editor.

Sine Anima 9 lat temu Ostatnio zmodyfikowane przez Fatih Barut 1 rok temu 6
I made a simple Bumped Specular shader in shader forge, it´s just three texture2d and they are connected to their respective channel, diffuse, specular and normal. In the unity editor it works perfectly but when I run it on android all textures are just black.

Any Idea on how to fix this?

Odpowiedź

Odpowiedź
To nie jest błąd
I see! I'll keep it in mind if anyone else get the same issue :)
W trakcie analizy
Did you enable GLES in the shader settings?
Yes I have, all three of them...still not working.
+1
It could be that the shader is too expensive, at least if you're using PBR. Are you getting any errors on build?
-1
I found the problem...I needed to select a "Emission GI" option...and that possibility showed up the second time I selected the object, not right away after assigning the material.
Odpowiedź
To nie jest błąd
I see! I'll keep it in mind if anyone else get the same issue :)

Auto graphics API solves the problem.