Commit Graph

11142 Commits

Author SHA1 Message Date
Santy-Wang 6166745b38 adjust phyx adapter (#9386) 2021-09-26 16:51:45 +08:00
Yun Hsiao Wu 8f553d31ab fix ia state cache (#9399) 2021-09-26 14:45:31 +08:00
PP 28242af04c fix dispatch mouse wheel event (#9397) 2021-09-26 14:02:47 +08:00
zhakesi 0d584b59be remvoe extensions/tilemap not used (#9398) 2021-09-26 13:51:42 +08:00
PP c61907d731 fix input bug (#9393)
* attach mask to node event processor

* compatible with systemEvent

* migrate pointer-event-dispatcher into 2d/event module

* update attachMask
2021-09-26 00:31:10 +08:00
Yun Hsiao Wu 42bd45f6d2 fix onscrenn detection (#9394) 2021-09-25 14:49:05 +08:00
ChiaNing c5f532ed02 fix depthTexture format bug in Runtime (#9388)
* fix depthTexture format bug in Runtime

* gl2
2021-09-24 17:36:47 +08:00
Yun Hsiao Wu 914a4a9a37 fix pipeline.setProfiler (#9382) 2021-09-24 14:41:42 +08:00
zhakesi 8f53785f9a fix dragonbone material miss (#9351) 2021-09-24 13:48:14 +08:00
zhakesi 202aa713bb fix rigid-body miss processing sync Position and Rotation (#9377) 2021-09-24 13:46:18 +08:00
PP 5878829d51 refactor UI pointer event dispatcher (#9363)
* optimize node event processor

# Conflicts:
#	cocos/core/scene-graph/node-event-processor.ts
#	cocos/core/scene-graph/node.ts

* support pointer event dispatcher

* remove event manager, event listener

# Conflicts:
#	cocos/core/director.ts
#	cocos/input/index.ts

* remove docs for event-manager

* fix pointer lock on web

* BREAKING-CHANGE: ui-transform.isHit interface

ud

* fix CI

* fix CI

* activeInHierarchy
2021-09-24 13:34:43 +08:00
pandamicro 78905bae3e Merge pull request #9381 from holycanvas/v3.4-sync
sync v3.3.2
2021-09-24 12:21:55 +08:00
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 8d6e75c9b7 restore resize invocation (#9379) 2021-09-24 11:50:44 +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