Skip to content

Shadows on terrain shader #11

@conceptninja

Description

@conceptninja

Hi @spacejack , firstly, epic project! Secondly, how would you go about implementing directional light shadows on the generated terrain? I can't quite get my head around it? I've tried implementing all the shader chunks from threejs to cast shadows on the terrain from an object I have imported using getShadowMap(). But nothing seems to work...

Was just wondering if you'd know the solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions