Commit Graph

25 Commits

Author SHA1 Message Date
Yun Hsiao Wu 96d587d106 model customization & merge shadow bounds (#4102) 2019-03-25 18:31:01 +08:00
jerrywwl 101621a4ee add support for smaa 2019-03-20 11:02:43 +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
jerrywwl a7030214be optimize color temperature calculation 2019-03-18 16:09:33 +08:00
jerrywwl 5b6b1fc621 fix spot light rendering 2019-03-18 14:56:05 +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
jerrywwl dfe2fd338c add support for vao to gfx 2019-03-08 17:02:36 +08:00
jerrywwl abb58ed3d9 fix clear color 2019-03-07 16:51:17 +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
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 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 ff7c27324e tidy code 2019-02-27 17:29:07 +08:00
Yun Hsiao Wu d2e2c14b2f render priority 2019-01-22 15:13:11 +08:00
Yun Hsiao Wu a1cca05b20 pipeline defines 2019-01-15 11:21:45 +08:00