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

Shadows on terrain shader #11

Open
conceptninja opened this issue Jul 6, 2022 · 0 comments
Open

Shadows on terrain shader #11

conceptninja opened this issue Jul 6, 2022 · 0 comments

Comments

@conceptninja
Copy link

Hi @spacejack , firstly, epic project! Secondly, how would you go about implementing directional light shadows on the generated terrain? I can't quite get my head around it? I've tried implementing all the shader chunks from threejs to cast shadows on the terrain from an object I have imported using getShadowMap(). But nothing seems to work...

Was just wondering if you'd know the solution?

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