mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-13 15:05:56 +10:00
Old version was doing massive overdraw (whole mesh was drawn for each material). Even current solution is still quite messy: there is a different behavior for stroke and fill materials (when used as secondary materials). Stroke materials are applied to the complete mesh (as most common use case seems to be wireframe) while fill materials now apply only to faces within single material group (when "decalIndex" property of secondary fill material is set).
2 lines
3 B
Plaintext
2 lines
3 B
Plaintext
23
|