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

Compute shadow maps before beauty render, so that lights can use shadow maps to occlude light #7423

Closed
bhouston opened this issue Oct 23, 2015 · 1 comment

Comments

@bhouston
Copy link
Contributor

This was discussed here:

What we should do is have all shadow maps calculated first and their indices stored with the light structs that are passed to the renderer. Then as one is calculating each light contribution you check its shadow map to see if it is occluded, and that determines if you accumulate the lighting result or not. This is significantly more accurate and realistic than the darkening post-accumulation effect we currently do.

#7377 (comment)

@mrdoob
Copy link
Owner

mrdoob commented Nov 6, 2015

48d8c5a

@mrdoob mrdoob closed this as completed Nov 6, 2015
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

2 participants