Vertex color and opacity mask
-
StarkRaven
- Posts: 4
- Joined: Sun Jun 25, 2017 9:03 pm
Vertex color and opacity mask
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?
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Vertex color and opacity mask
Hello,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?
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
-
StarkRaven
- Posts: 4
- Joined: Sun Jun 25, 2017 9:03 pm
Re: Vertex color and opacity mask
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.
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 (208.04 KiB) Viewed 4365 times
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Vertex color and opacity mask
Hello,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.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
-
StarkRaven
- Posts: 4
- Joined: Sun Jun 25, 2017 9:03 pm
Re: Vertex color and opacity mask
Excuse me I ment unity 5.4.4f1
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Vertex color and opacity mask
Thank you for clearing it up. Would you like us to examine a sample?StarkRaven wrote:Excuse me I ment unity 5.4.4f1
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!