Skip to content

TypeError: Cannot set property customDepthMaterial #55

Description

@lambocorp

Hello, I updated my three version to r176 and am now getting this error on new InstancedSpriteMesh(material, count, renderer).

Uncaught (in promise) TypeError: Cannot set property customDepthMaterial of #<je> which has only a getter
    at new Object3D (three.core.js:13625:28)
    at new Mesh (three.core.js:20345:3)
    at new InstancedMesh (three.core.js:25719:3)
    at new je (index.js:288:5)
    at new Kt (index.js:1015:5)

"@threejs-kit/instanced-sprite-mesh": "^2.5.1",
"three": "^0.176.0",

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions