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

Non-directional lights not supported #2

Open
GalacticCurtain opened this issue Jan 4, 2023 · 0 comments
Open

Non-directional lights not supported #2

GalacticCurtain opened this issue Jan 4, 2023 · 0 comments

Comments

@GalacticCurtain
Copy link

Hi I really love your hair shader version 9 but it doesn't work on any lights other than directional so I added the missing code after analyzing the shader code and now it works fine but I was wondering whether it was possible to get the same self-shadowing from point lights as it does from directional and spot lights and if so what would the new code look like? cuz I don't really have knowledge about shaders.
Directional from left side:
Directional
Point light from left side:
Point Light

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

No branches or pull requests

1 participant