Skip to content

Can you add example about light /shadow #328

Open
@njikmf

Description

@njikmf

Hi , I 'm not fully understand the light / shadow usage, there is example "Shadow" use shadowmap + directional light, the "GltfViewer" use PBR , I tried a custom gltf model , which have basic cube + plane + point light, but looks like no shadow, may be I use wrong setting. For code part, there 's only directional light defines, no point light or spot light, so I am confused. In Gltf namespace looks support direction + point + spot, but do not see shadow part.
Can you add an example to show all kinds of light + shadow ? Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions