Vertex color and opacity mask

Node-based Shader Editor

Vertex color and opacity mask

Postby StarkRaven » Thu Jul 13, 2017 7:17 pm

If I plug a vertex color channel into the opacity mask input it causes shadows to be drawn. what kind of fix is there for this?
StarkRaven
 
Posts: 4
Joined: Sun Jun 25, 2017 9:03 pm

Re: Vertex color and opacity mask

Postby Ricardo Teixeira » Thu Jul 13, 2017 9:05 pm

StarkRaven wrote:If I plug a vertex color channel into the opacity mask input it causes shadows to be drawn. what kind of fix is there for this?


Hello,

Thank you for using ASE, we really appreciate it. It seems to be working as expected from our tests, can you provide a sample? We could really use some additional information in order to replicate the issue.

-Unity version
-ASE version
-Shader sample
-Problem example(screenshot)

Thanks!
Sales & 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
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Vertex color and opacity mask

Postby StarkRaven » Thu Jul 13, 2017 11:54 pm

Unity version 4.4.4f1
Shader Editor 1.1.0_dev01
In this scene I have a point light shining on the character but no shadows are being generated. I have the RGBA output for the Vertex color node plugged into the Opacity Mask input. I have tried each individual output one at a time to test but I get the same result.
Attachments
screenshot.jpg
screenshot.jpg (208.04 KiB) Viewed 2698 times
StarkRaven
 
Posts: 4
Joined: Sun Jun 25, 2017 9:03 pm

Re: Vertex color and opacity mask

Postby Ricardo Teixeira » Fri Jul 14, 2017 10:40 am

StarkRaven wrote:Unity version 4.4.4f1
Shader Editor 1.1.0_dev01
In this scene I have a point light shining on the character but no shadows are being generated. I have the RGBA output for the Vertex color node plugged into the Opacity Mask input. I have tried each individual output one at a time to test but I get the same result.


Hello,

ASE does not work on Unity 4, did you mean 5? Not sure what could be the problem but I would be happy to examine the shader and model, can you send us a sample to [email protected]?

Connecting the full RGBA value will likely not produce the effect that you are looking for. Try connecting each channel individually to the debug output in order to determine if the weights correspond to what is intended. Also check the the object Mesh Renderer component, be sure that Cast Shadows is enable.

Looking forward to your reply.
Sales & 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
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Vertex color and opacity mask

Postby StarkRaven » Fri Jul 14, 2017 8:28 pm

Excuse me I ment unity 5.4.4f1
StarkRaven
 
Posts: 4
Joined: Sun Jun 25, 2017 9:03 pm

Re: Vertex color and opacity mask

Postby Ricardo Teixeira » Sat Jul 15, 2017 6:05 pm

StarkRaven wrote:Excuse me I ment unity 5.4.4f1


Thank you for clearing it up. Would you like us to examine a sample?
Sales & 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
Ricardo Teixeira
 
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 0 guests