Commit Graph

11129 Commits

Author SHA1 Message Date
santy-wang 7695780e26 build effect 2021-09-24 12:13:36 +08:00
santy-wang 6391b5705a Merge branch 'v3.3.2' of github.com:cocos-creator/engine into v3.4.0-physx 2021-09-24 12:11:48 +08:00
Yun Hsiao Wu 6fb90c355e remove resizable flag (#9373) 2021-09-23 18:34:44 +08:00
troublemaker52025 4915e31f41 Culling performance optimization for v3.4.0 (#9371)
* fix merge error

* use scene bounding box not casts bounding box
2021-09-23 18:33:53 +08:00
Yun Hsiao Wu 9d3c0a9eac workaround R11 vk shader driver bug (#9376) 2021-09-23 18:32:19 +08:00
Yun Hsiao Wu e2a16f44ad effect: subpass support (#9364) 2021-09-23 17:08:29 +08:00
Santy-Wang e8cf9a0ada export active-in-hierarchy-changed event (#9369) 2021-09-23 14:22:18 +08:00
Santy-Wang 75a22d4b98 support require component array (#9366)
* support require component array

* fix lint

* refine
2021-09-23 14:00:55 +08:00
Myway 79fffed239 fixed terrain reset index buffer (#9352) 2021-09-22 17:58:19 +08:00
troublemaker52025 5bc2063ab8 Add automatically calculate the shadow distance v3.4.0 (#9355)
* Add automatically calculate the shadowDistance for v3.4.0

* update

* Unify color manipulation in ambient

* use protected

* update

* Improve implementation

* Fix ci

* Reorder import

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-09-22 17:05:28 +08:00
PP 6f33b656ec fix multi input instance (#9361) 2021-09-22 16:03:56 +08:00
linshunjun 7d7a06b40d update-twoside-material (#9348)
* update-twoside-material

* update-twoside-material
2021-09-22 15:26:49 +08:00
pandamicro 4c17f85ced Unify color manipulation in ambient (#9359) 2021-09-22 15:26:25 +08:00
troublemaker52025 731fd344f1 update toon shader for v3.3.2 (#9354) 2021-09-22 14:26:33 +08:00
PP 81fdaf346d support input module (#9327)
* support input module

* don't export eventManager
2021-09-18 19:25:08 +08:00
troublemaker52025 93f5fa9c2e fix receive shadow for v3.3.2 (#9347) 2021-09-18 15:57:23 +08:00
Santy-Wang b608ff8315 optimize render texture (#9342)
* optimize render texture

* refine
2021-09-18 12:04:39 +08:00
Santy-Wang 019fbbf1e4 fix render mode (#9346) 2021-09-18 11:56:18 +08:00
Santy-Wang a1b018ebc0 Headless Mode (#9345)
* Headless Mode

* refine annotation
2021-09-18 10:58:00 +08:00
Yun Hsiao Wu 049195c860 fix profiler hide (#9343)
* fix profiler hide

* fix deferred pipeline resize
2021-09-18 10:12:18 +08:00
pandamicro 0b7d570353 Add allowReplicated decorator (#9341)
* Add AllowReplicated decorator

* Fix allowReplicated decorator

* Fix ci

* Fix ci

* Update version

* Update version
2021-09-17 18:43:12 +08:00
李吉林 dde11834bc fix frustum culling (#9330)
Co-authored-by: lijilin <jilin.li@cocos.com>
Co-authored-by: minggo <nudtzxm@gmail.com>
2021-09-17 13:39:31 +08:00
Yun Hsiao Wu 48686f1301 update effects (#9339) 2021-09-17 11:42:26 +08:00
Yun Hsiao Wu c4fcb7c547 should update flat buffer when material changes (#9338) 2021-09-17 10:07:44 +08:00
Yun Hsiao Wu 427ff1254c instance buffer allow different strides (#9329) 2021-09-16 17:39:37 +08:00
zxx43 f78395cd90 V3.4 performance (#9191)
* use start rotation as euler in shader

* do calculate start rotation once

Co-authored-by: Santy-Wang <wh19930829@qq.com>
2021-09-16 17:12:17 +08:00
zxx43 3dcc271494 V3.4.0 align (#9236)
* add particle align

* init update align

* update shaders

* add align with view

* check camera layer

* check editor camera

Co-authored-by: Santy-Wang <wh19930829@qq.com>
2021-09-16 17:02:47 +08:00
zhakesi cc3fa2a0b0 fix spine not be packed in, jsb error (#9334)
Co-authored-by: Santy-Wang <wh19930829@qq.com>
2021-09-16 16:53:50 +08:00
Santy-Wang 8b949169ac adjust buffer memory usage (#9326)
Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-09-16 16:27:17 +08:00
Yun Hsiao Wu 56038db50a gfx: states store hashes (#9325)
* gfx: states store hashes

* profiler uses fixed viewport
2021-09-16 10:28:27 +08:00
PP ccd505ad14 migrate Engine Input Event into PAL (#9320)
* optimize input module

* rename

* fix CI

* update input-box.d.ts
2021-09-15 13:51:38 +08:00
J.C 677599de35 2 subtle improvements (#9318)
* add an optional parameter `out`

* no need to create temp function when clear the `targetTexture`
2021-09-14 18:28:59 +08:00
Santy-Wang cf3e10b6c4 sync some unit test from 2.4 (#9321)
* add unit test

* add more unit test

* refine

* add test

* add more unit test

* add more unit test

* more change

* add commit

* add unit test

* commit package-lock.json

* revert some

* refine code

* add more test

* fix bugs

* fix bugs
2021-09-13 19:05:39 +08:00
ChiaNing 8be1785d8d fix mask graphics enable bug for android (#9317) 2021-09-11 10:35:40 +08:00
jiaxin.lai 5c6567f59e bullet physics optimization (#9311)
* stash

* stash

* stash

* use @cocos/bullet

* rename

* stash

* update constraint

* naming

* naming

* naming

* naming

* fix

* use compound by default

* stash

* fix

* rename and raycast

* refactor

* add state optimazation

* tweaks

* tweaks

* stash

* rename

* wechat wasm file path

* using promise

* remove @cocos/ammo

* i18n bullet(ammo.js) -> bullet

* tweaks

* update @cocos/build-engine to 4.2.11

* fix sync

* fix autosleep mechanism

* fix stability test

* fix destroy bullet world

* tweaks

* update @cocos/bullet to 1.0.0

* fix

* delete
2021-09-10 16:35:56 +08:00
PP 8188d27405 fix npm install (#9315) 2021-09-10 16:35:04 +08:00
Santy-Wang 8dfe080d8c Merge pull request #9308 from holycanvas/v3.4-sync
sync v3.3.1
2021-09-10 11:19:06 +08:00
pandamicro 99e5085532 Revert GLES_ANTIALIAS (#9313) 2021-09-10 11:10:33 +08:00
Santy-Wang 5a6b56b095 avoid destroy twice (#9310) 2021-09-09 18:30:52 +08:00
媛媛 968c01765d [Bug] fix save after add events in fbx (#9303) 2021-09-09 16:02:51 +08:00
Yun Hsiao Wu 79f6ec1fcf handle swapchain resize event (#9305)
* swapchain resize accept surface transform

* rt attachment should support read back
2021-09-09 16:00:02 +08:00
ChiaNing a7716e4347 fix Fix label outline artifact on web platforms (#9307) 2021-09-09 15:32:19 +08:00
troublemaker52025 32ecb37d1d fix replceProperty error for v3.3.1 (#9306)
* fix replceProperty error for v3.3.1

* update
2021-09-09 13:48:14 +08:00
santy-wang c87577b809 Merge branch 'v3.3.1' of https://gitlab.cocos.net/publics/engine into v3.4 2021-09-09 13:33:35 +08:00
ChiaNing 9d4cb44c4a fix button scale bug (#9302) 2021-09-08 16:32:15 +08:00
ChiaNing 68c5a04416 fix mask graphics enable bug & update builtin res meta (#9301) 2021-09-08 16:30:21 +08:00
troublemaker52025 8c88f0cfe9 fix pcf type not display for v3.3.1 (#9300) 2021-09-08 15:47:12 +08:00
Leslie Leigh (李的序) 9977a398d8 Fix easing method serialization (#9299) 2021-09-07 18:52:35 +08:00
PP ec36b5e700 fix EditBox.background.node is null (#9298)
* detect editBox background.node

* unregister editbox backgroundImage event on disable phase
2021-09-07 16:46:24 +08:00
PP 97b3657549 migrate input module out of platform (#9296)
* migrate input module out of platform

* revert EventKeyboard.isPressed deprecation

* fix CI
2021-09-07 15:24:43 +08:00