Commit Graph

138 Commits

Author SHA1 Message Date
jerrywwl 4d5a07ebdf fix native size error bug when size value is undefined 2019-04-01 20:28:57 +08:00
JoneLau eebccf3e27 add graphics (#4119) 2019-03-30 18:18:44 +08:00
Leslie Leigh fdaaf22ea4 remove unused files (#4118)
* remove unused files

* typing
2019-03-30 18:18:08 +08:00
Yun Hsiao Wu 605d1a0586 custom vertex attribute when create mesh (#4113) 2019-03-28 15:13:45 +08:00
jerrywwl 39a404c71c fix bind ubo state error bug on gl2 2019-03-27 18:12:34 +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
jerrywwl 3baec59d90 merge code 2019-03-26 16:07:54 +08:00
jerrywwl fce6f94eb4 fix gl resources release bug 2019-03-26 11:29:57 +08:00
jerrywwl 262477980a add msaa to LDR 2019-03-26 00:07:30 +08:00
Yun Hsiao Wu 96d587d106 model customization & merge shadow bounds (#4102) 2019-03-25 18:31:01 +08:00
jerrywwl d8fc85fa4e fix texture creation error when texture size is zero 2019-03-22 13:57:24 +08:00
Yun Hsiao Wu 9d03bf4809 generate mipmap depend on mip filter (#4081) 2019-03-21 18:18:01 +08:00
jerrywwl 18319250d1 fix render target rendering 2019-03-21 16:52:50 +08:00
jerrywwl 3c2356c949 fix conflicts 2019-03-21 09:58:17 +08:00
jerrywwl 5f7ae5ca9e complete smaa 2019-03-21 09:47:49 +08:00
Yun Hsiao Wu 7dc0bbef30 preview (#4071)
* yellow for missing effect

* default viewID
2019-03-21 00:18:29 +08:00
jerrywwl ed3deb124a commit files 2019-03-20 16:15:41 +08:00
Yun Hsiao Wu fdafb1e52a samplers can be specified in effect too (#4066) 2019-03-20 11:14:17 +08:00
jerrywwl bcede42719 resolve conflicts 2019-03-20 11:09:14 +08:00
jerrywwl 101621a4ee add support for smaa 2019-03-20 11:02:43 +08:00
Yun Hsiao Wu 052982739b fix program-lib cache (#4065) 2019-03-20 01:47:03 +08:00
Yun Hsiao Wu bdb71795e8 directional planar shadow (#4063) 2019-03-19 13:26:36 +08:00
jerrywwl 6bba2528d6 fix display 2019-03-19 11:45:05 +08:00
jerrywwl 18aa82cd7d add duo framebuffer structure 2019-03-19 10:49:09 +08:00
Yun Hsiao Wu 59f7cc1594 material: custom pipeline states (#4059) 2019-03-18 16:46:28 +08:00
JoneLau 9fa515b5bc change the material of the render component to built-in (#4058) 2019-03-18 16:21:19 +08:00
jerrywwl 5b6b1fc621 fix spot light rendering 2019-03-18 14:56:05 +08:00
jerrywwl 5376b003ec speed up texture loading 2019-03-18 09:50:10 +08:00
jerrywwl d9f72b3532 fix texture wrap addressing error on non-power-of-2 texture 2019-03-15 16:26:40 +08:00
Yun Hsiao Wu f882a4198e fix sampler & node (#4048) 2019-03-15 15:17:46 +08:00
jerrywwl dc7c0a91b6 fix rendering error 2019-03-14 19:21:34 +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
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
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
jerrywwl 6c1a125011 fix frag color error in LDR pipeline 2019-03-07 19:37:44 +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 ab80c770ff commit effects.js 2019-03-07 14:19:24 +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
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