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

Update code to support shadows from offscreen tiles and add example #79

Closed
gkjohnson opened this issue Jun 24, 2020 · 0 comments · Fixed by #86
Closed

Update code to support shadows from offscreen tiles and add example #79

gkjohnson opened this issue Jun 24, 2020 · 0 comments · Fixed by #86
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gkjohnson
Copy link
Contributor

gkjohnson commented Jun 24, 2020

To render shadows:

  • Set activeTiles to true to ensure offscreen tiles are added to the scene.
  • Reenable frustumCulled on all tiles (and to be loaded tiles) when activeTiles = true so they can be effectively frustum culled for shadows and rendering.
  • Instanced meshes set frustumCulled to false by default so the original frustumCulled value should be used.
@gkjohnson gkjohnson added this to the Feature Complete milestone Jun 24, 2020
@gkjohnson gkjohnson added enhancement New feature or request help wanted Extra attention is needed labels Jun 24, 2020
@gkjohnson gkjohnson modified the milestones: Feature Complete, Next Release Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
1 participant