Commit Graph

328 Commits

Author SHA1 Message Date
zxg0622 efdbc65240 fix tsc error (#4026) 2019-03-13 18:24:57 +08:00
Yun Hsiao Wu acb9a6e788 fix program name (#4027) 2019-03-13 17:27:30 +08:00
zxg0622 b3ae1e7767 fix bug (#4023)
* fix scene switch of editor camera

* optimize
2019-03-13 11:11:24 +08:00
jerrywwl 7759fae8fd destroy view on calling camera destroy() 2019-03-12 18:43:09 +08:00
jerrywwl 9e630b1bec Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-03-12 16:28:04 +08:00
jerrywwl 4ba0e4a490 add support for render target to view 2019-03-12 16:27:40 +08:00
Yun Hsiao Wu 3625f7ec21 string defines (#4012) 2019-03-12 15:53:04 +08:00
jerrywwl 6f7e20c534 limit max lighting light num to 2 2019-03-11 23:48:08 +08:00
jerrywwl 2fcd10978c add color temperature to light 2019-03-11 17:55:27 +08:00
Yun Hsiao Wu c5670977b7 minor (#3996) 2019-03-11 15:46:02 +08:00
jerrywwl 1a99ae1cd4 fix conflicts 2019-03-11 14:30:50 +08:00
jerrywwl 0712a626cd fix light size 2019-03-11 14:20:42 +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
JoneLau 504990d19f verify meshBuffer Stability (#3982) 2019-03-07 23:40:33 +08:00
Yun Hsiao Wu 06d6fb2696 light components (#3981) 2019-03-07 17:08:55 +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
jerrywwl 8ac16aed2c Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-03-06 09:28:42 +08:00
jerrywwl 74a0ce15b0 fix conflicts 2019-03-06 09:28:20 +08:00
JoneLau ed93473d67 fix error (#3969)
* fix error

* repair overridePipelineState bug per Fram
2019-03-06 09:15:22 +08:00
Yun Hsiao Wu b6483dc250 default effect (#3968) 2019-03-06 09:14:53 +08:00
Yun Hsiao Wu be92434df6 scene globals (#3967) 2019-03-05 15:46:39 +08:00
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