Texture Export
Added texture and image export to the Object3D.js. Works with the scene export inside the editor. Extended the .toJson() to safe the texture inside the .json file as a base64 format. Big images >2048 are converted to jpg with to keep the size smaller. For others you can still use the alpha channel of pigs.
Showing
src/loaders/ObjectLoader.js
100644 → 100755
想要评论请 注册 或 登录