سؤال

Hi I hope you can help me will Three.js

I am using the following code

var material = new THREE.MeshPhongMaterial({ color: colour,
                                               wireframe: false,
                                               transparent: false,
                                               overdraw: false});

As you can see I have turned wireframe to false however it is still shown. Any Idea?

enter image description here

هل كانت مفيدة؟

المحلول

You're using CanvasRenderer and you should be setting overdraw to 0.5 instead of false.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top