Skip to content

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

@slozier

Description

@slozier
Contributor

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.

Activity

pjcozzi

pjcozzi commented on Jun 8, 2016

@pjcozzi
Contributor

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

fredj commented on Oct 24, 2016

@fredj
Contributor

See also #4001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @fredj@pjcozzi@ggetz@slozier

        Issue actions

          Can't create a ShadowMap object using public API · Issue #4010 · CesiumGS/cesium