Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional shader that always casts original shadows #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jawinn
Copy link

@jawinn jawinn commented Nov 30, 2021

Added an additional shader called DitherTransparentOriginalShadow. Instead of a dithered shadow, the original shadow will always be cast regardless of the opacity. An additional node was added to the shader graph, using the technique referenced by Unity on this forum post, that sets IsShadowCaster to true: https://forum.unity.com/threads/alpha-clip-dither-and-keep-original-shadows.781412/#post-5212907

I also added a basic "Usage" section to the README. The README could use some more elaboration to add some of the relevant usage/implementation details found in the linked tutorial.

Added an additional shader called DitherTransparentOriginalShadow. Instead of a dithered shadow, the original shadow will always be cast regardless of the opacity. An additional node was added to the shader graph, using the technique referenced by Unity on this forum post, that sets IsShadowCaster to true: https://forum.unity.com/threads/alpha-clip-dither-and-keep-original-shadows.781412/#post-5212907
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant