How can I remove Ambient Occlusion from Transparent Cutout?
Hello, I have been modifying (for a week) 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). 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 and preventing shadows from appearing on the clipped pixels, but the Ambient Occlusion continues to show up on the clipped pixels. I was wondering how I would prevent the Ambient Occlusion from acting on those pixels. Below is an example of what it looks like now, and what it should look like (achieved by disabling ambient occlusion altogether). 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;
Perhaps the Ambient occlusion is not on the model itself, but is showing up on the model from the Ambient Occlusion applied to the mesh behind the model. This would explain the darkness only where the ground is behind the character.
Answer by chadfranklin47 · Dec 06, 2018 at 01:07 AM
Well... I feel stupid. Of course there is going to be an error when I am using Force FORWARD Compatibility in the Occlusion settings.
Your answer
Follow this Question
Related Questions
Why doesn't this specific shader work on Mobile? 0 Answers
How can I remove shadows from alpha cutout? 1 Answer
Why does skinned mesh renderer make the object looks more brigther than mesh renderer? 0 Answers
How to change the render mode of a material in runtime? 0 Answers
Is it possible to blend 2 different materials via the shader graph? 0 Answers