Commit Graph

181 Commits

Author SHA1 Message Date
jerrywwl 724a82c6ec fix resize bug 2019-04-02 14:07:59 +08:00
jerrywwl f76ec7fc39 fix texture filter error without mipmap 2019-04-02 11:42:27 +08:00
jerrywwl a8682cd289 fix shading error 2019-04-02 01:11:31 +08:00
jerrywwl da44c98e7b add resize log 2019-04-01 20:46:37 +08:00
jerrywwl 4d5a07ebdf fix native size error bug when size value is undefined 2019-04-01 20:28:57 +08:00
Yun Hsiao Wu 09499c8b5b fix sampler LOD (#4115) 2019-03-28 17:01:26 +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 9403a19382 update resources on pipeline change (#4106)
...and get inspector on light component to work
2019-03-26 18:45:23 +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
jerrywwl d8fc85fa4e fix texture creation error when texture size is zero 2019-03-22 13:57:24 +08:00
Leslie Leigh d7aaaa7397 remove webgl-debug (#4083) 2019-03-22 10:44:47 +08:00
jerrywwl c932cd3289 add a interface to set offscreen camera 2019-03-21 11:30:34 +08:00
jerrywwl ed3deb124a commit files 2019-03-20 16:15:41 +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 c479fbd6ef fix program id (#4064) 2019-03-19 17:42: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 7eae8d11b5 fix crash on safari 2019-03-14 20:13:30 +08:00
Yun Hsiao Wu 5f5db237ec sampler from texture (#4037) 2019-03-14 15:27:38 +08:00
jerrywwl 588377cb11 add camera name 2019-03-12 17:18:01 +08:00
jerrywwl 4ba0e4a490 add support for render target to view 2019-03-12 16:27:40 +08:00
jerrywwl 24608778c1 fix conflicts 2019-03-12 09:58:04 +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 dfe2fd338c add support for vao to gfx 2019-03-08 17:02:36 +08:00
jerrywwl 6c1a125011 fix frag color error in LDR pipeline 2019-03-07 19:37:44 +08:00
jerrywwl 3467245baa complete HDR pipeline & photometric lighting 2019-03-07 14:18:51 +08:00
JoneLau ed93473d67 fix error (#3969)
* fix error

* repair overridePipelineState bug per Fram
2019-03-06 09:15:22 +08:00
jerrywwl 7dc7d280d8 fix camera size scaling 2019-03-04 19:11:32 +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
Yun Hsiao Wu 5e17024da2 fix VB update (#3934)
* pipeline binding using enums

* fix VB update
2019-02-28 16:42:30 +08:00
jerrywwl 4462855771 support sampler & mrt in webgl2 2019-02-28 13:58:50 +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 dd2b416209 add tonemap flow 2019-02-27 11:07:34 +08:00
jerrywwl 8e201e504a remove some device infos 2019-02-25 17:59:44 +08:00
jerrywwl 1210472333 fix crash on data size of passed texture is 0 2019-02-25 16:08:11 +08:00
jerrywwl 8fd9921276 add some gfx features 2019-02-25 14:28:47 +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