Three.js: AxisHelper not showing colored

Created on 15 Dec 2016  ·  3Comments  ·  Source: mrdoob/three.js

I'm trying to add an AxisHelper to my three.js project. I added it like this:

axes = new THREE.AxisHelper(100);
scene.add(axes);

It gets added, but it isn't colored It's solid white, and therefore hard to see. How can I make it the regular colors?

JSFiddle

Bug

All 3 comments

The OP is using CanvasRenderer.

The work-around and explanation are in this SO answer.

I assume CanvasRenderer is no longer under development.

I'm unable to reproduce the issue with latest dev branch:

https://jsfiddle.net/oL61khm7/5/

Was this page helpful?
0 / 5 - 0 ratings