Commit Graph

158 Commits

Author SHA1 Message Date
zxg0622 e51a79d9c6 fix not bind light ubo when changing material (#4114) 2019-03-28 17:01:50 +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 048347b25d fix luminance (#4094)
* fix web audio volume

* fix luminance
2019-03-25 13:53:39 +08:00
Yun Hsiao Wu 9d03bf4809 generate mipmap depend on mip filter (#4081) 2019-03-21 18:18:01 +08:00
zxg0622 986e4c5f64 modify flows in view (#4078) 2019-03-21 16:55:27 +08:00
zxg0622 0fab11ed5a modify ui renderpipeline (#4070) 2019-03-21 11:24:08 +08:00
Yun Hsiao Wu 7dc0bbef30 preview (#4071)
* yellow for missing effect

* default viewID
2019-03-21 00:18:29 +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 bdb71795e8 directional planar shadow (#4063) 2019-03-19 13:26:36 +08:00
jerrywwl 18aa82cd7d add duo framebuffer structure 2019-03-19 10:49:09 +08:00
jerrywwl d9f72b3532 fix texture wrap addressing error on non-power-of-2 texture 2019-03-15 16:26:40 +08:00
zxg0622 efdbc65240 fix tsc error (#4026) 2019-03-13 18:24:57 +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 4ba0e4a490 add support for render target to view 2019-03-12 16:27:40 +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 0712a626cd fix light size 2019-03-11 14:20:42 +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
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 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
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
jerrywwl a63e82dddc add ambient and main light to scene 2019-03-04 11:21:07 +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
jerrywwl ff7c27324e tidy code 2019-02-27 17:29:07 +08:00
zhuxuguang 64573f6ca2 modify ui renderpipeline 2019-02-25 16:16:41 +08:00
jerrywwl bc8506db03 fix ubo bugs 2019-02-22 18:24:54 +08:00
Yun Hsiao Wu 8a1a90a990 webgl2 adapt 2019-02-19 16:14:17 +08:00
zhuxuguang 312c5dc0de fix model create/destroy 2019-02-19 11:11:07 +08:00
zhuxuguang ba491ae9d5 resolve UI material issue 2019-02-18 20:54:50 +08:00
Yun Hsiao Wu 7842ba562d upload texture mipmap & new material init procedure 2019-01-31 18:31:50 +08:00
Yun Hsiao Wu f320cf785a when to create render scene resources and when not to 2019-01-29 19:34:02 +08:00
Yun Hsiao Wu 6dfc30de74 persist node change scene event 2019-01-29 17:06:53 +08:00
Yun Hsiao Wu 393dfa91f6 fix lights 2019-01-25 14:42:13 +08:00
jerrywwl c376fb8dce fix ui render view 2019-01-25 11:37:32 +08:00
Yun Hsiao Wu 0351dec226 fixed light pipeline 2019-01-24 18:10:21 +08:00
zhuxuguang 3d40193b3c fix set material bug 2019-01-24 16:10:31 +08:00
Yun Hsiao Wu 1d6e4804ec fix effects 2019-01-24 16:02:54 +08:00