How can I remove shadows from alpha cutout?
Hello, I have been playing around (for a few days) with the new Unity Adam Character shaders available on the Unity Asset Store (https://assetstore.unity.com/packages/templates/packs/adam-ep2-ep3-character-pack-115793) and they are perfect except that they don't allow the option for an alpha cutout (aka alpha injection mask or alpha occlusion mask) that I need to prevent the skin on my skinned mesh from clipping through my clothing during animation. I have managed to get as far as clipping the surface texture, but there are still visible shadows that pop up on the clipped part of the mesh. I was wondering how I would prevent the shadows from appearing on the clipped part of the mesh. Below is an example of what it looks like now, and what it should look like (achieved using morph 3d Volund variant shader). Please help me. Anything will be appreciated. Thank you.
If helpful, Here is some extra information: Unity version 2018.2.18f1; Windows 10; Deferred, Linear;
Answer by chadfranklin47 · Dec 05, 2018 at 10:41 PM
I had to edit the UnityStandardShadow script and clip the pixels with the alpha value less than _Cutoff.
Your answer
Follow this Question
Related Questions
Need help with Sprite shadow shader!!! 0 Answers
Why does skinned mesh renderer make the object looks more brigther than mesh renderer? 0 Answers
How can I remove Ambient Occlusion from Transparent Cutout? 1 Answer
Custom split color font 0 Answers
Changing alpha channel of the tint color on a material 3 Answers