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

Improved Terrain Shadows #3765

Merged
merged 35 commits into from
Apr 5, 2016
Merged

Improved Terrain Shadows #3765

merged 35 commits into from
Apr 5, 2016

Conversation

lilleyse
Copy link
Contributor

For #2594

Not quite ready for a code review since the code needs some cleanup, but I'm getting some better results now. The shadow parameters for terrain are really different than for the models I've been testing with. One thing that helps now is offsetting the shadow position based on its normal when the face is parallel with the light direction. There are still some artifacts that are more noticeable when moving the camera, for example when different terrain LOD's start to load in.

I added a lot more UI buttons for fine tweaking of shadow parameters.

@lilleyse lilleyse changed the title Terrain shadows better Improved Terrain Shadows Mar 23, 2016
@lilleyse
Copy link
Contributor Author

everest
pinnacle

@pjcozzi
Copy link
Contributor

pjcozzi commented Mar 24, 2016

Looks promising, you'll have to walk @bagnell and I through all the parameters tomorrow.

@lilleyse
Copy link
Contributor Author

lilleyse commented Apr 5, 2016

@bagnell If the most recent changes look ok to you, we should merge this branch into shadows.

@bagnell bagnell merged commit 7921031 into shadows Apr 5, 2016
@bagnell bagnell deleted the shadows-terrain-aliasing branch April 5, 2016 17:05
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.

3 participants