Hi!
In attached image I have one simple part of my shader. This paint inside with an color and outside with another.
Works perfectly in pc but in Android is only black if I try to multiple by an image.
If I remove the image and just multiply by a color works fine.
I remove everything from my shader to test and I am only usnig in albedo to test.
Am I forgueting something here?
Thank you.
mgear
2
see device logcat for possible shader errors
maybe android doesnt support that face code? (is it SV_IsFrontFace)?
I think that no information about it…

What is curious is that the branch is working and isfrontface too…The only problem is when multiplied by a texture.
I tried to clamp after branck but nop…
I tried to change to a jpg image and nop.
mgear
7
is it huge texture?
what graphics api in android?
if you make minimal shader only with that multiply stuff, does that work?
Yes I did a minimal shader, I exclude everything from my shader and only connect that nodes in Albedo.
Size of texture was 2048