Skip to content

Material must set Material.customProgramCacheKey #13

@gromgull

Description

@gromgull

Currently, if you use multiple of these materials, only one (the first) shader gets used.

If you use onBeforeCompile you must set the cache key:
https://threejs.org/docs/?q=meshstand#api/en/materials/Material.customProgramCacheKey

See mrdoob/three.js#17567 and mrdoob/three.js#19377

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions