Merged with mrdoob's branch. Got WebGLRenderer working again :)
Changed OBJ -> Three.js converter to use new materials system (eventual old models need to be reconverted). Limitations: - one use case is now much slower - when a mesh has each face with different color (e.g. polyfield in examples/test.html) - before this used FaceColorFill material and in WebGLRenderer it was rendered fast with color attribute array - now when FaceColorFill material is gone, each face gets own VBO :( - material sorting uses Materials "toString" methods for hashing, so it's very important to keep these in a good shape
Showing
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录