Page 1 of 1

Vertex color and opacity mask

PostPosted: Thu Jul 13, 2017 7:17 pm
by StarkRaven
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?

Re: Vertex color and opacity mask

PostPosted: Thu Jul 13, 2017 9:05 pm
by Ricardo Teixeira
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!

Re: Vertex color and opacity mask

PostPosted: Thu Jul 13, 2017 11:54 pm
by StarkRaven
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.

Re: Vertex color and opacity mask

PostPosted: Fri Jul 14, 2017 10:40 am
by Ricardo Teixeira
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.

Re: Vertex color and opacity mask

PostPosted: Fri Jul 14, 2017 8:28 pm
by StarkRaven
Excuse me I ment unity 5.4.4f1

Re: Vertex color and opacity mask

PostPosted: Sat Jul 15, 2017 6:05 pm
by Ricardo Teixeira
StarkRaven wrote:Excuse me I ment unity 5.4.4f1


Thank you for clearing it up. Would you like us to examine a sample?