Commit Graph

43 Commits

Author SHA1 Message Date
Leslie 71e8d22c16 module exports 2019-01-14 12:43:45 +08:00
Yun Hsiao Wu 4110f91946 editor adapt 2019-01-11 16:53:27 +08:00
zhuxuguang 224c842a8b adapt model to new mesh 2019-01-10 18:12:21 +08:00
Weiliang Wang 77114ce838 Merge pull request #28 from zxg0622/rndComp
fix pass
2019-01-10 15:16:16 +08:00
zhuxuguang 407ca757f4 fix pass 2019-01-10 15:14:22 +08:00
Yun Hsiao Wu d152fc871e linter fix 2019-01-10 12:30:28 +08:00
jerrywwl 9c0024f735 add binding cache to GFXBindingLayout, remove binding cache from pass 2019-01-09 21:08:32 +08:00
zhuxuguang 391e7c65ab add model local buffer 2019-01-09 19:51:08 +08:00
Yun Hsiao Wu dcb1045a51 pass properties 2019-01-09 17:49:22 +08:00
Yun Hsiao Wu a2020308f1 material interface 2019-01-09 11:33:00 +08:00
Weiliang Wang 53ce841c79 Merge pull request #12 from YunHsiao/gfx
fix tsc errors
2019-01-08 16:42:34 +08:00
Yun Hsiao Wu 06eb5d8060 fix tsc errors 2019-01-08 16:38:26 +08:00
jerrywwl a7fdb4edf2 rename RenderPassStage.FORWARD to RenderPassStage.DEFAULT 2019-01-08 16:02:44 +08:00
jerrywwl c2e8b864cb rename RenderPassStage.FORWARD to RenderPassStage.DEFAULT 2019-01-08 16:01:42 +08:00
Yun Hsiao Wu 87a6672db5 fix pass 2019-01-08 14:21:05 +08:00
Yun Hsiao Wu abb02c2ef0 API fitting 2019-01-08 10:29:13 +08:00
Yun Hsiao Wu 29576e8935 material.setProperty 2019-01-07 22:44:08 +08:00
Yun Hsiao Wu 132ca6e05b [API BREAKING] material with passes 2019-01-07 19:39:21 +08:00
Yun Hsiao Wu 2a63d5d934 programlib.ts 2019-01-07 19:36:56 +08:00
Yun Hsiao Wu 3a5926a673 effect initialization 2019-01-07 19:36:56 +08:00
jerrywwl 1c445f3098 add 'isNormalized' to GFXInputAttribute 2019-01-07 16:23:00 +08:00
Yun Hsiao Wu 5d3a88ab8a effect 2019-01-03 18:15:19 +08:00
Yun Hsiao Wu af2789ffd9 pass 2019-01-02 18:19:17 +08:00
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