Commit Graph

20 Commits

Author SHA1 Message Date
jerrywwl d9a9add5f5 fix crashes 2019-01-02 02:41:52 +08:00
Yun Hsiao Wu d9c271ee00 structure 2018-12-29 18:28:35 +08:00
Yun Hsiao Wu 148fc1a442 readPixels (#3650)
* better error reporting

* render texture
2018-12-19 14:17:52 +08:00
Yun Hsiao Wu ec9bf142a1 builtin defines (#3633) 2018-12-14 15:51:28 +08:00
Yun Hsiao Wu 2dc989e70e fix defines (#3618)
* fix defines

* fix material copy
2018-12-11 16:19:21 +08:00
Yun Hsiao Wu 6cffc59376 fix primitives (#3613)
* fix primitives

* defines & view clear color
2018-12-11 10:43:07 +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 64adf77910 Maintain Node EulerAngles & Effect Asset interface (#3574)
* node euler

* transparent sort

* fix node dirty

* fix material onLoaded

* effect asset uuid get

* dont store effectName in material
2018-12-05 17:52:21 +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
Yun Hsiao Wu 51c700f86c fix material (#3470) 2018-11-06 16:11:30 +08:00
Yun Hsiao Wu 1549912c48 fix parseType (#3466) 2018-11-05 18:08:24 +08:00
Yun Hsiao Wu 12ef67f6b4 area lighted gizmos (#3451)
* area lighted gizmos

* better effect parsing

* logical OR in shader info extraction
2018-11-02 11:06:53 +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
Huabing.Xu 8f056df535 add parseType for effect (#3413) 2018-10-23 18:04:34 +08:00
Huabing.Xu 70bbf741a4 raw version of serialize of deserialize of material (#3406)
* raw version of serialize of deserialize of material

* adjust class for material serialization generation

* add registerEffect function
2018-10-23 14:30:11 +08:00
Yun Hsiao Wu 243d645760 ES6 scene-graph (#3234)
* ES6 base-node

* ES6 node

* ES6 node activator

* ES6 component scheduler

* ES6 find

* ES6 scene

* ES6 private node

* fix linter globals
2018-09-13 01:29:59 +08:00
Huabing.Xu 343023ee68 update to lastest 3D engine 2018-09-11 16:42:03 +08:00
pandamicro cd9b64672b Fix build issues (#3231) 2018-09-11 16:22:23 +08:00
Huabing.Xu 0f23cba394 add 3d files 2018-09-04 16:02:46 +08:00