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 - reorganize shaders #3749

Merged
merged 3 commits into from
Mar 22, 2016
Merged

Shadows - reorganize shaders #3749

merged 3 commits into from
Mar 22, 2016

Conversation

lilleyse
Copy link
Contributor

I removed the scale and offset uniforms and instead just use cascade matrices. This simplified the shadow-receive vertex shader and removed the need to update the shadow map matrix for each frustum in the scene's multifrustum setup.

One problem this introduced is after clipping the camera against the surface the shadows don't seem to work. The root cause may also be responsible for #3178. I'll make a separate PR into cesium if I find the problem.

@lilleyse lilleyse mentioned this pull request Mar 22, 2016
pjcozzi added a commit that referenced this pull request Mar 22, 2016
@pjcozzi pjcozzi merged commit e5ae12e into shadows Mar 22, 2016
@pjcozzi pjcozzi deleted the shadows-cleanup branch March 22, 2016 22:57
@pjcozzi pjcozzi mentioned this pull request Mar 31, 2016
44 tasks
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.

2 participants