Commit Graph

352 Commits

Author SHA1 Message Date
jerrywwl 2ed07ffef1 add lighting to standard material 2019-03-05 11:50:08 +08:00
jerrywwl 7dc7d280d8 fix camera size scaling 2019-03-04 19:11:32 +08:00
Yun Hsiao Wu 93e60c0214 camera screenScale (#3957) 2019-03-04 16:53:08 +08:00
JoneLau 4beeb0095b modify model batch and add rect mask (#3955)
* modify model batch

* add rect mask
2019-03-04 14:59: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
JoneLau 525111f873 fix stencilOps sequence (#3939) 2019-03-01 18:25:33 +08:00
jerrywwl 8b59991303 fix offscreen fbo creation bug 2019-03-01 10:35:29 +08:00
zxg0622 3c009f1f99 modify ui global uniform (#3932) 2019-02-28 18:49:54 +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
jerrywwl f242a1d769 modify 3d pipeline and ui pipeline order 2019-02-28 15:47:08 +08:00
jerrywwl ec72fee6b2 tidy code 2019-02-28 15:22:17 +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 df8535cf14 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-02-27 15:25:07 +08:00
Leslie Leigh 518c2ad3a4 fix animation (#3925) 2019-02-27 15:23:30 +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 47c5fd0891 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-02-25 10:41:21 +08:00
jerrywwl fb126fca02 ubo can work correctly in webgl2 2019-02-25 10:41:11 +08:00
Jone 633aa63a68 add bitmap-font and sprite-atlas 2019-02-23 14:20:51 +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
Weiliang Wang 0f7d085e5a Merge pull request #3867 from zxg0622/3d
fix model create/destroy
2019-02-19 11:33:31 +08:00
zhuxuguang 312c5dc0de fix model create/destroy 2019-02-19 11:11:07 +08:00
Weiliang Wang e3371159a8 Merge pull request #3864 from zxg0622/3d
resolve UI material issue
2019-02-18 22:44:19 +08:00
zhuxuguang ba491ae9d5 resolve UI material issue 2019-02-18 20:54:50 +08:00
Weiliang Wang 528d1c5031 Merge pull request #3862 from YunHsiao/3d
seperated light UBO
2019-02-18 18:32:52 +08:00
Yun Hsiao Wu c099c576cb seperated light UBO 2019-02-18 18:24:08 +08:00
Leslie 16a74d471f fix multi-vertex-buffers mesh bug; remove _cc, use cc.internal instead; fix wireframed() function; fix component's onDisable bug. 2019-02-18 18:20:01 +08:00
Yun Hsiao Wu 23573ad407 performance improves 2019-02-18 15:30:30 +08:00
Jone c3c17849bf fix scroll-view , editbox and click error 2019-02-18 14:32:16 +08:00
Jone d6fa9745e9 verification and repair
button,toggle, toggleGroup, slider, progressBar, layout,widget without editBox
2019-02-15 18:36:28 +08:00
jerrywwl 11060fd0eb Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-02-11 12:34:07 +08:00
jerrywwl c43cd95317 optimize gfx code 2019-02-11 12:33:53 +08:00
Yun Hsiao Wu 7842ba562d upload texture mipmap & new material init procedure 2019-01-31 18:31:50 +08:00
Jone 9e6a7075e5 fix child nodes are not rendered bug 2019-01-31 18:12:03 +08:00
Jone cf7ba5887b fixing camera display errors bug and hack components 2019-01-31 04:11:07 +08:00
Jone 2bd30d7ad9 repair ui batch bug 2019-01-31 02:37:01 +08:00
Jone 4428e9404e fix bugs of ui render 2019-01-31 01:06:15 +08:00
Jone 1b5b606e49 fix bug and u_sampler to mainTexture 2019-01-30 15:27:40 +08:00
jerrywwl 16b15e6aa6 fix first index offset of ui batch 2019-01-30 12:20:54 +08:00
jerrywwl 86f2f3d099 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-01-30 11:43:12 +08:00
jerrywwl 005282b6f5 fix ui batch errors 2019-01-30 11:41:58 +08:00
Yun Hsiao Wu 9b193a8904 fix cc.screen 2019-01-30 10:35:41 +08:00
Yun Hsiao Wu f320cf785a when to create render scene resources and when not to 2019-01-29 19:34:02 +08:00