pixelperfect3/BezierView — Issue #5: Switching materials of a mesh
Author: pixelperfect3
Created: 2012-02-24 19:53:34+00:00
State: open

Switching between Three.MeshPhong and Three.MeshBasic is not possible right now in Three.js (for switching between curvature and regular phong).

Current (inefficient) solution:
-Generate two different meshes with different geometry and materials. Set visibility depending on user preference.

NOTE:
-Sharing geometry is not a solution. This also because of different kinds of materials.