Commit Graph

91 Commits

Author SHA1 Message Date
Yun Hsiao Wu b134b8db10 node shearing support & detail improve (#5078)
* joints texture free interface

* better socket interaction

* workaround UBO size align bug

* better socket query

* fix playground

* node transform include shearing now

* finer dirty mechanism for node
2019-08-05 10:13:39 +08:00
Yun Hsiao Wu a1b9562c43 fix joints texture cache (#5035)
* fix joints texture cache

* fix ci
2019-07-31 18:12:31 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
Weiliang Wang 72b1155a02 optimize samplerLib.getSampler() (#4930)
* optimize samplerLib.getSampler()

* fix sampler state value
2019-07-21 01:21:01 +08:00
Yun Hsiao Wu 2f9d3f50a3 should reinit binding layout every time now (#4811) 2019-07-04 11:46:47 +08:00
Yun Hsiao Wu 247dee67b0 effect: clean uniform structure (#4805) 2019-07-03 18:23:13 +08:00
Yun Hsiao Wu aa9b3e1ac5 fix model update (#4801)
* no shadow for disabled model

* fix model update
2019-07-03 15:22:58 +08:00
Yun Hsiao Wu d7e7f06611 global planar shadow system (#4709)
* doc category

* planar shadow
2019-06-26 09:48:47 +08:00
Yun Hsiao Wu 62d2f5f38a builtin IBL (#4671) 2019-06-21 18:49:20 +08:00
Yun Hsiao Wu ab20e4fe2b vmath docs (#4620)
* mat4 vec4

* minor

* vec3, mat3, quat

* color4, vec2
2019-06-14 11:25:48 +08:00
Yun Hsiao Wu 00eac3b237 material destroy issue (#4573)
* camera clear color

* material destroy

* fix material destroy issue
2019-06-11 18:12:21 +08:00
Yun Hsiao Wu b2dd74520b fix skinning model update policy (#4566)
* full material doc

* fix skinning model update policy

* audio doc
2019-06-06 16:43:52 +08:00
Yun Hsiao Wu 1770effd02 combined material for avatar model component (#4552) 2019-06-05 11:37:49 +08:00
Yun Hsiao Wu 2985392d34 fix pass (#4435) 2019-05-16 17:44:25 +08:00
jerrywwl 009f317c23 fix mesh loading on wechat 2019-04-16 11:33:03 +08:00
Yun Hsiao Wu 295d74416c material: recompile shaders (#4198) 2019-04-12 09:47:31 +08:00
Yun Hsiao Wu 1fb5a90d82 pass shader recompile interface (#4181) 2019-04-09 18:30:32 +08:00
zxg0622 beb8107414 add light shadow culling & change shadow render order (#4149) 2019-04-04 17:04:26 +08:00
Yun Hsiao Wu 608372e194 get rid of color uniform type (#4141) 2019-04-04 11:21:56 +08:00
Yun Hsiao Wu 96d587d106 model customization & merge shadow bounds (#4102) 2019-03-25 18:31:01 +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 59f7cc1594 material: custom pipeline states (#4059) 2019-03-18 16:46:28 +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
Yun Hsiao Wu 3625f7ec21 string defines (#4012) 2019-03-12 15:53:04 +08:00
Yun Hsiao Wu 23b56fa7c7 seperate builtin info (#3993) 2019-03-11 13:40:31 +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 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
Yun Hsiao Wu 93e60c0214 camera screenScale (#3957) 2019-03-04 16:53: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
jerrywwl 8b59991303 fix offscreen fbo creation bug 2019-03-01 10:35:29 +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 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 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 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
Yun Hsiao Wu c099c576cb seperated light UBO 2019-02-18 18:24:08 +08:00
Yun Hsiao Wu 7842ba562d upload texture mipmap & new material init procedure 2019-01-31 18:31:50 +08:00
Yun Hsiao Wu 1d6e4804ec fix effects 2019-01-24 16:02:54 +08:00
Yun Hsiao Wu 5a0f92243d light component 2019-01-24 14:11:38 +08:00
jerrywwl fa00f10178 fix gfx format type bug 2019-01-24 11:37:53 +08:00
Yun Hsiao Wu 31ad0be86a fix uniform array 2019-01-23 19:19:36 +08:00
Yun Hsiao Wu a404510a28 uniform array 2019-01-23 19:01:52 +08:00
Yun Hsiao Wu 031ad8fb18 sampler from effect, again 2019-01-23 15:43:42 +08:00
Yun Hsiao Wu ba5ed365b2 sampler from texture asset 2019-01-23 13:53:17 +08:00