Commit Graph

16 Commits

Author SHA1 Message Date
Yun Hsiao Wu 23573ad407 performance improves 2019-02-18 15:30:30 +08:00
Leslie bb64cba835 change root index.js to index.ts, add some physics api, transform plane to ts 2019-02-14 18:40:39 +08:00
Leslie b9c93ccf64 fix webgl-debug 2019-01-24 17:06:45 +08:00
Leslie Leigh 855738d49b Rollup build (#3735)
* rollup-build

rename to ts

* add build-engine-cli

* rename rollup result, because cc can be conflict

* tsc not found
2019-01-10 22:27:43 +08:00
Leslie Leigh 3ed9edfbc6 phy framework (#3644)
* phy framework

* phy mat

* framework/index.ts

* a node can have more than one collider

* rename physical to physics

* fix

* fix

* support mix ts js

* fix

* fix problems in issue

* fix

* remove RigidBodyType, add DataFlow

* useGravity, freezeRotation, isKinematic

* raycasts

* fit buildin-world raycast options

* add contact material

* lint

* add rigid-body-component.ts

* some improvements

* improvements

* fix bug
2018-12-27 12:03:10 +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
Yun Hsiao Wu 4644779ad7 new shader format (#3505)
* new shader format

* neW effect file extension
2018-11-21 10:47:56 +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
Yun Hsiao Wu e540797785 new adaptations for gizmos (#3438)
* gizmos adapt

* working texture cube

* misc fixes

* gizmo lighting
2018-10-31 11:54:58 +08:00
Yun Hsiao Wu 4d99992908 new material json format (#3422)
* auto-generate shader infos

* remove define jsons

* program-lib

* new effect format

* first working version

* structure adjust, enable type dependency extraction
2018-10-26 11:47:06 +08:00
Yun Hsiao Wu 8dda58f16b fix shader & effect build (#3352)
* restore effect

* minor fix

* fix shader & effect build
2018-10-09 11:57:22 +08:00
pandamicro 6282af03ba Fix editor running issues (#3286) 2018-09-20 11:44:57 +08:00
Huabing.Xu 164221b5a5 Renderer (#3278)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors
2018-09-19 15:21:06 +08:00
pandamicro 6b1e031dfb ES6 modulize assets (#3221)
* use babel instead of buble

* ES6 modulize assets
2018-09-09 23:49:25 +08:00
pandamicro 11f876f72e Add rollup config and tested commonjs module import (#3220)
* Add basic rollup environment configs

* Fix issues for rollup build

* Import commonjs module, test with assets
2018-09-09 11:32:11 +08:00