Three.js: THREE.SpriteCanvasMaterial is not a constructor

Created on 9 Aug 2017  路  3Comments  路  Source: mrdoob/three.js

Description of the problem

This form is for three.js bug reports and feature requests only.
This is NOT a help site. Do not ask help questions here.
If you need help, please use stackoverflow.

Describe the bug or feature request in detail.
A code snippet, screenshot, and small-test help us understand.

You can edit for small-test.
http://jsfiddle.net/akmcv7Lh/ (current revision)
http://jsfiddle.net/hw9rcLL8/ (dev)

Three.js version
  • [ ] Dev
  • [ ] r85
  • [ ] ...
Browser
  • [x] All of them
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Internet Explorer
OS
  • [x] All of them
  • [ ] Windows
  • [ ] macOS
  • [ ] Linux
  • [ ] Android
  • [ ] iOS
Hardware Requirements (graphics card, VR Device, ...)

Most helpful comment

Have you imported CanvasRenderer from /examples/js/renderers/CanvasRenderer.js?

see https://github.com/mrdoob/three.js/blob/master/examples/canvas_lines.html#L23-L24 as an example.

All 3 comments

Have you imported CanvasRenderer from /examples/js/renderers/CanvasRenderer.js?

see https://github.com/mrdoob/three.js/blob/master/examples/canvas_lines.html#L23-L24 as an example.

I have imported it and it's still showing errors. The link provided is not available now.

CanvasRenderer and all related examples have been removed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

makc picture makc  路  3Comments

seep picture seep  路  3Comments

boyravikumar picture boyravikumar  路  3Comments

filharvey picture filharvey  路  3Comments

konijn picture konijn  路  3Comments