Translucent Shadows and Vertex Color
I have a material that uses vertex color to switch between black and white to use in the opacity slot.
However, the transluscent shadows dont seem to take into account this. The shadows are the same no matter the vertex color (black or white) applied. My scene is fully static.
A1: Transluscent material with all white vertex color; A2: Transluscent material with all black vertex color; B: Near transparent Material; C: Opaque Material.
A1-S: Shadow of A1; A2-S: Shadow of A2; B-S: Shadow of B; C-S: Shadow of C.
You can see that the shadow of A1 and A2 are the same, even when the opacity is not.
Here's my material:
As you can see, I am using a Lerp to switch between my two opacities (and color).
Is this a bug or variable shadow transluscency is not working with vertex color?
So I was running some tests, and I am a bit thrown off by your own test case. What is it you expect to see, versus what you have presented?
Also, what happens if you switch your scene to be fully dynamic instead of static? i.e. Set your directional light to Movable.
I am seeing variable shadowed translucency when using a movable light, but not with static lighting which I believe is expected.
answered Apr 30 '17 at 09:48 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here