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

Fix shadow map reverse projections #1

Open
wickles opened this issue Apr 25, 2017 · 0 comments
Open

Fix shadow map reverse projections #1

wickles opened this issue Apr 25, 2017 · 0 comments

Comments

@wickles
Copy link
Collaborator

wickles commented Apr 25, 2017

The shadow maps often get drawn up on the hillsides due to reverse projection.

Approaches:

  1. Choose shadowed surfaces more in more fine-grained manner
  2. Mask with 1D black/white texture (how? environment mapping?)
  3. Stencil buffer shadows instead

Resources:
https://en.wikipedia.org/wiki/Projective_texture_mapping
https://www.nvidia.com/object/Projective_Texture_Mapping.html

TODO: add screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant