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

Can't create a ShadowMap object using public API #4010

Closed
slozier opened this issue Jun 8, 2016 · 2 comments
Closed

Can't create a ShadowMap object using public API #4010

slozier opened this issue Jun 8, 2016 · 2 comments
Labels
category - doc good first issue An opportunity for first time contributors

Comments

@slozier
Copy link
Contributor

slozier commented Jun 8, 2016

I'm trying to use a light source other than the sun so I figured I could just change the shadowMap of the scene. But to create a new ShadowMap it looks like I need to specify a Context which is not part of the public API.

@pjcozzi pjcozzi added category - doc good first issue An opportunity for first time contributors labels Jun 8, 2016
@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 8, 2016

We weren't planning on exposing multiple shadow maps until Cesium support multiple light sources so this constructor should actually be private and not in the reference doc.

In the meantime, you can, of course, use Context and friends, but the API is may change.

@fredj
Copy link
Contributor

fredj commented Oct 24, 2016

See also #4001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category - doc good first issue An opportunity for first time contributors
Projects
None yet
Development

No branches or pull requests

4 participants