Commit Graph

368 Commits

Author SHA1 Message Date
JoneLau 2c527197e9 add profiler (#4205) 2019-04-12 16:34:32 +08:00
Yun Hsiao Wu 295d74416c material: recompile shaders (#4198) 2019-04-12 09:47:31 +08:00
jerrywwl cc2c1beed8 fix build:effect error for ccenum(GFXFormat) 2019-04-11 14:43:05 +08:00
jerrywwl 7759b174ef Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-04-09 21:02:23 +08:00
jerrywwl 13577b32c0 adjust mesh structure 2019-04-09 21:02:12 +08:00
Yun Hsiao Wu 1fb5a90d82 pass shader recompile interface (#4181) 2019-04-09 18:30:32 +08:00
Yun Hsiao Wu 2ef9110adb light, camera, view fix (#4164) 2019-04-08 15:33:08 +08:00
zxg0622 e237afe0a1 fix light ubo not bind after build process (#4156) 2019-04-07 16:03:15 +08:00
zxg0622 beb8107414 add light shadow culling & change shadow render order (#4149) 2019-04-04 17:04:26 +08:00
Leslie Leigh 0af81daac7 use joint texture only if in webgl1 (#4148) 2019-04-04 15:46:08 +08:00
jerrywwl e11d3f2661 disable ssaa feature 2019-04-04 11:50:17 +08:00
Yun Hsiao Wu 608372e194 get rid of color uniform type (#4141) 2019-04-04 11:21:56 +08:00
Yun Hsiao Wu 36402bc1ea misc fix (#4136)
* fix orthoHeight & WebGL2 detect

* fix program key & render priority
2019-04-03 18:23:47 +08:00
Leslie Leigh d4f5d8cb25 change max joint support (#4135) 2019-04-03 16:38:04 +08:00
Leslie Leigh 135b0ae129 joint uniform support 3x4 (#4134) 2019-04-03 16:15:34 +08:00
Leslie Leigh e46ad93c2a fix multi submodel skinning model component bug (#4127) 2019-04-02 19:36:25 +08:00
JoneLau eebccf3e27 add graphics (#4119) 2019-03-30 18:18:44 +08:00
zxg0622 e51a79d9c6 fix not bind light ubo when changing material (#4114) 2019-03-28 17:01:50 +08:00
Yun Hsiao Wu 605d1a0586 custom vertex attribute when create mesh (#4113) 2019-03-28 15:13:45 +08:00
Yun Hsiao Wu 8eea0603f7 effect name with path (#4109) 2019-03-27 16:21:26 +08:00
zxg0622 daa2542ef9 add ui 3d model rendering (#4108) 2019-03-27 15:26:57 +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
JoneLau e5e53071c3 fix add second render component error (#4079) 2019-03-22 10:36:47 +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 685b44b1f9 fix particle destroy error (#4074) 2019-03-21 15:32:53 +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 052982739b fix program-lib cache (#4065) 2019-03-20 01:47:03 +08:00
Yun Hsiao Wu c479fbd6ef fix program id (#4064) 2019-03-19 17:42:19 +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
Yun Hsiao Wu 59f7cc1594 material: custom pipeline states (#4059) 2019-03-18 16:46:28 +08:00
Yun Hsiao Wu 86185af02c keepWorldTransform when setParent (#4052) 2019-03-15 16:29:32 +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 5f5db237ec sampler from texture (#4037) 2019-03-14 15:27:38 +08:00
Weiliang Wang 8bb80df732 3d (#4036)
* compiler error (#4033)

* compiler error

* add gen decl module

* fix global event and other bug (#4032)

* components such as event-target to ts

* divide CCEvent and CCTouch into game coordinates and ui coordinate mod

* repair editor environment where mask does not take effect bug

* fix render component blendState modification does not take effect bug

* fix bug

* fix ts tip
2019-03-14 12:03:04 +08:00
zxg0622 efdbc65240 fix tsc error (#4026) 2019-03-13 18:24:57 +08:00
Yun Hsiao Wu acb9a6e788 fix program name (#4027) 2019-03-13 17:27:30 +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 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
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