Commit Graph

117 Commits

Author SHA1 Message Date
Yun Hsiao Wu 605d1a0586 custom vertex attribute when create mesh (#4113) 2019-03-28 15:13:45 +08:00
Yun Hsiao Wu 8eea0603f7 effect name with path (#4109) 2019-03-27 16:21:26 +08:00
Yun Hsiao Wu 9403a19382 update resources on pipeline change (#4106)
...and get inspector on light component to work
2019-03-26 18:45:23 +08:00
Yun Hsiao Wu 96d587d106 model customization & merge shadow bounds (#4102) 2019-03-25 18:31:01 +08:00
Yun Hsiao Wu 9d03bf4809 generate mipmap depend on mip filter (#4081) 2019-03-21 18:18:01 +08:00
Yun Hsiao Wu fdafb1e52a samplers can be specified in effect too (#4066) 2019-03-20 11:14:17 +08:00
Yun Hsiao Wu 052982739b fix program-lib cache (#4065) 2019-03-20 01:47:03 +08:00
Yun Hsiao Wu c479fbd6ef fix program id (#4064) 2019-03-19 17:42:19 +08:00
Yun Hsiao Wu 59f7cc1594 material: custom pipeline states (#4059) 2019-03-18 16:46:28 +08:00
Yun Hsiao Wu 5f5db237ec sampler from texture (#4037) 2019-03-14 15:27:38 +08:00
Yun Hsiao Wu acb9a6e788 fix program name (#4027) 2019-03-13 17:27:30 +08:00
Yun Hsiao Wu 3625f7ec21 string defines (#4012) 2019-03-12 15:53:04 +08:00
Yun Hsiao Wu 23b56fa7c7 seperate builtin info (#3993) 2019-03-11 13:40:31 +08:00
Yun Hsiao Wu 9a08fae9d1 update IB & restore uniforms (#3991)
* revoke ubo name

* update IB

* restore uniform names
2019-03-09 00:49:13 +08:00
zxg0622 a24abf7b9d modify to local lights (#3988)
* local bindings

* local bindings

* modify to local lights
2019-03-08 19:04:22 +08:00
jerrywwl 9bea7acb2b fix conflicts 2019-03-07 14:53:55 +08:00
jerrywwl 3467245baa complete HDR pipeline & photometric lighting 2019-03-07 14:18:51 +08:00
Yun Hsiao Wu e130583211 node pool (#3976) 2019-03-07 12:47:44 +08:00
Yun Hsiao Wu cd5e88adeb planar shadow (#3975)
* pass switch

* planar shadows: basic

* planar shadow: framework
2019-03-06 19:37:35 +08:00
Yun Hsiao Wu 93e60c0214 camera screenScale (#3957) 2019-03-04 16:53:08 +08:00
Yun Hsiao Wu 2cd00ca2cc don't destroy samplers; don't do slice every frame (#3953) 2019-03-04 11:56:38 +08:00
jerrywwl a63e82dddc add ambient and main light to scene 2019-03-04 11:21:07 +08:00
Yun Hsiao Wu d8d56d3cbc full audio support (#3948)
* sampler cache

* fix GL availability test

* full audio support
2019-03-02 18:38:53 +08:00
jerrywwl 8b59991303 fix offscreen fbo creation bug 2019-03-01 10:35:29 +08:00
Yun Hsiao Wu 1b2edaec93 audio system (#3937)
* audio adapt

* compile shaders as early as possible
2019-02-28 18:48:07 +08:00
Yun Hsiao Wu 5e17024da2 fix VB update (#3934)
* pipeline binding using enums

* fix VB update
2019-02-28 16:42:30 +08:00
Yun Hsiao Wu d7ee4b6aba builtin UBO pipe (#3931)
* shorter effect name

* audio adapt

* builtin UBO pipe

* modify global ubo in pipeline
2019-02-28 11:50:56 +08:00
jerrywwl ff7c27324e tidy code 2019-02-27 17:29:07 +08:00
jerrywwl dd2b416209 add tonemap flow 2019-02-27 11:07:34 +08:00
zhuxuguang 64573f6ca2 modify ui renderpipeline 2019-02-25 16:16:41 +08:00
jerrywwl fb126fca02 ubo can work correctly in webgl2 2019-02-25 10:41:11 +08:00
jerrywwl bc8506db03 fix ubo bugs 2019-02-22 18:24:54 +08:00
jerrywwl 3f5f823bed fix some webgl2 bugs 2019-02-20 14:46:10 +08:00
jerrywwl 60f9a0bcc8 commit webgl2 adaption 2019-02-19 16:55:58 +08:00
Yun Hsiao Wu 8a1a90a990 webgl2 adapt 2019-02-19 16:14:17 +08:00
Yun Hsiao Wu c099c576cb seperated light UBO 2019-02-18 18:24:08 +08:00
Yun Hsiao Wu 23573ad407 performance improves 2019-02-18 15:30:30 +08:00
Yun Hsiao Wu 7842ba562d upload texture mipmap & new material init procedure 2019-01-31 18:31:50 +08:00
Yun Hsiao Wu 9b193a8904 fix cc.screen 2019-01-30 10:35:41 +08:00
Weiliang Wang 31c894403f Merge pull request #123 from YunHsiao/3d
fixed light pipeline
2019-01-24 19:11:29 +08:00
Yun Hsiao Wu 0351dec226 fixed light pipeline 2019-01-24 18:10:21 +08:00
Leslie 28da22b1e5 support joints texture 2019-01-24 18:03:33 +08:00
Yun Hsiao Wu 1d6e4804ec fix effects 2019-01-24 16:02:54 +08:00
Yun Hsiao Wu 5a0f92243d light component 2019-01-24 14:11:38 +08:00
jerrywwl fa00f10178 fix gfx format type bug 2019-01-24 11:37:53 +08:00
Yun Hsiao Wu 31ad0be86a fix uniform array 2019-01-23 19:19:36 +08:00
Yun Hsiao Wu a404510a28 uniform array 2019-01-23 19:01:52 +08:00
Yun Hsiao Wu 031ad8fb18 sampler from effect, again 2019-01-23 15:43:42 +08:00
Yun Hsiao Wu ba5ed365b2 sampler from texture asset 2019-01-23 13:53:17 +08:00
zhuxuguang eedffd20dc fix pass ubo error 2019-01-23 11:18:44 +08:00