mrdoob/three.js — Issue #1303: Changing the MaterialIndex of a Face does not update the view
Author: marklundin
Created: 2012-02-10 16:07:02+00:00
State: open

Hi,

I have a simple geometry using the MeshFaceMaterial. Each face has a materialIndex set, however after the first render I am unable to change the materialIndex to change the face material.

You can see the issue here: http://jsfiddle.net/y372B/2/

At the first render the materialIndex is set to 0 pointing to a red material. After the first render it is set to 1, indicating a blue texture. The plane should therefore be blue, however it maintains its original red material from the first render.

Any ideas?