Commit Graph

9 Commits

Author SHA1 Message Date
zhuxuguang d1ce6a8d8b add particle system 2018-12-27 15:00:36 +08:00
Yun Hsiao Wu 58e59701ba Unified effect/shader assets (#3559)
* modify render piplien p1

* new effect format

* minor refactor

* mod render pipelien p1

* process queues and stages offline

* choose tech on load

* fix second pass

* modify render pipeline p2

* minor

* stage item default

* support render queue below opaque constant

* fix shadow stage in new render pipeline

* unified shader assets

* unified shader assets: parser

* add technique lod

* unified shader assets: pipeline

* fix some defect

* fix some defect

* fix effect asset cid

* game init

* minor fix
2018-12-03 13:59:36 +08:00
Yun Hsiao Wu da885ac40a effect improvements (#3480)
* effect (de)serialization

* more GL params to configure in effect

* uniform tags

* material (de)serialization

* switch to json solution

* effect: pass default value to editor too

* minor fix

* use default (de)serialization procedure

* async builtin init only
2018-11-13 15:12:02 +08:00
zxg0622 d37e6340cd ajust material reference (#3471) 2018-11-07 10:48:15 +08:00
Leslie Leigh 3f972a4d3c define mesh its own format; improve the robust of gltf-utils; now the standard gltf can be imported (#3435)
* uuid-loader.js

* Make camera-component is available in previewing;
Remove onLoad of mesh asset class, instead do its content in model-component and skinning-model-component's _updateModels method.

* define mesh its own format; improve the robust of gltf-utils; now the standard gltf can be imported

* typo

* bugfix

* material serialization;gltf material import; fix animation component bug

* cinnebt

* remove skeleton root

* small fix

* bug fix

* remove the hack materials

* small fix
2018-11-05 17:48:24 +08:00
zxg0622 8fda3ce34c add material instance (#3337) 2018-10-08 17:09:33 +08:00
Huabing.Xu 6e61913c03 built in mesh can be rendered (#3310)
* fix error, can not rendering

* model can be rendered

* fix for node api changing

* class rename

* clean up code
2018-09-28 15:10:12 +08:00
Huabing.Xu b717d9148f Renderer (#3282)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors

* renderer can clear now
2018-09-19 19:24:16 +08:00
Huabing.Xu aa29c19b74 Raw renderable (#3272)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format
2018-09-19 11:52:25 +08:00