Commit Graph

14 Commits

Author SHA1 Message Date
Yun Hsiao Wu a9110d6d6b fix builtin effects (#3627)
* texture cube serialization

* rebase

* rebase

* fix builtin effects

* minor

* fix texture cube

* texture serialize

* camera clear flag enum

* fix format
2018-12-14 14:18:37 +08:00
Yun Hsiao Wu 1850cabe7b Effect Improvements (#3599)
* default material

* remove effects

* better builtin effects

* builtin primitives

* fix material

* builtin uniforms

* fix percision
2018-12-07 14:38:53 +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
Huabing.Xu 60d1247543 camera component do not execute in editor mode (#3425) 2018-10-25 15:46:30 +08:00
Leslie Leigh 2f7d422519 refactor skinning and animating framework (#3399)
* * add onLoad() callback when asset is loaded;
* discard class SkeletonInstance, refactor skinning and animating framework
* discard interface AnimationResource and it's relevant classes, directly store animation clip data into AnimationClip asset
* add getNodeByPath() API to class Node

* uuid-loader.js

* bug fix

* 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.

* typo

* move _resetTarget() to onLoad
2018-10-25 10:29:07 +08:00
zxg0622 7aa9629b97 support base component (#3377) 2018-10-22 13:21:14 +08:00
Yun Hsiao Wu 1943c9eb6d adaptation for editor camera (#3371)
* fix min build

* expose some useful utils

* fix color & node quat
2018-10-11 16:57:08 +08:00
Huabing.Xu 7a2d764ccf temper hack make editor works (#3344) 2018-09-30 09:25:42 +08:00
JoneLau 20de39f85b implement property editing on the editor, as well as running bugs (#3316)
* implement property editing on the editor, as well as running bugs(#3316)

* update
2018-09-28 16:59:37 +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
JoneLau 9a370d460d decorator component (#3277) (#3277) 2018-09-20 16:29:22 +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
Huabing.Xu 0f23cba394 add 3d files 2018-09-04 16:02:46 +08:00