Transparency Mobile Issues

Node-based Shader Editor

Transparency Mobile Issues

Postby vitaliyinfi » Wed Mar 27, 2019 12:53 pm

Hi there.
I have created simple PBR material with alpha, but after making a build for Android it have alpha issue, currently the alpha is black on the phone because camera flag set to sky-box, once i switch it to background color, the alpha will take the color of the camera background color. this Doesn't happens with native Unity Standard Shader.
You also can notice that the black alpha get blue rim from the back light (Directional).

Image
vitaliyinfi
 
Posts: 2
Joined: Wed Mar 27, 2019 12:16 pm

Re: Transparency Mobile Issues

Postby Amplify_Borba » Tue Apr 02, 2019 11:07 am

Hello, thank you for getting in touch!

The problem might be related to your material's Render Queue, as Unity's Skybox is rendered on a special queue somewhere between 2500 and 2501, so you must make sure that your object renders on a higher queue than 2501

Please let me know if this is the case, and also if you're using the latest ASE version.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Transparency Mobile Issues

Postby vitaliyinfi » Wed Apr 03, 2019 4:21 pm

Thanks for a replay,

I have set my skybox render queue from 1000 to 1500
And the body from 2000 to 3000
that solved the transparency issue but as soon as i get secondary directional light identical to the main one the transparent areas get lighted as well as you can see in the image attached.
I am always using recent version of Amplify.

https://imgur.com/a/Z2kIy4R
vitaliyinfi
 
Posts: 2
Joined: Wed Mar 27, 2019 12:16 pm

Re: Transparency Mobile Issues

Postby Amplify_Borba » Fri Apr 05, 2019 11:57 am

Would setting your shader's Light Model to Unlit be viable?

Image

It would ensure that it wouldn't be influenced by lighting.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 5 guests