Material at the face level

Hi,

is it possible to assign a MaterialState at the face level of a TriMesh?



TIA,

N.

No.  And most 3d apps I've seen export such a situation as multiple meshes.

I guess I'm working on sphere's faces extrusion and I wonder if creating 900+ geometries to be able to extrude 900+ faces of a Sphere is a good compromise (memory, speed…) just to put one extruded face red and one extruded face green.



I know about turning the light off but then… I don't get the cool lighting effect (shadows…).



Maybe GLSL could help?  :?



:slight_smile:


How about color materials?  Then you can use vertex coloring and materials

Perfect!