Commit Graph

11109 Commits

Author SHA1 Message Date
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
PP 81fdaf346d support input module (#9327)
* support input module

* don't export eventManager
2021-09-18 19:25:08 +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
李吉林 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
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
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
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
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
jk20012001 73ece827cf fix shadow artifacts in toon shader,synchronize modifications with builtin standard effect (#9297)
* 修复卡通渲染的阴影问题,和builtin-standard之前的修改同步

* 缩进修改
2021-09-07 15:16:05 +08:00
GengineJS e36e5e8fee Fixed prefab incorrect in native location (#9293) 2021-09-07 14:51:45 +08:00
PP c412d3a815 support touch manager on PAL (#9281)
* support touch manager

* update inputmanager

* update event manager

* optimize code
2021-09-07 14:10:04 +08:00
zxx43 de64ca9baa optimize update index buffer (#9278) 2021-09-07 11:18:47 +08:00
Leslie Leigh (李的序) 416753320a Curve document (#9228)
* Curve document

* Update

* update

* Update

* Update
2021-09-06 23:15:56 +08:00
linshunjun e1a14c0f58 update-(shading-toon.chunk)-fix-shadow (#9287) 2021-09-06 20:15:19 +08:00
troublemaker52025 689962baeb fix spotShadow soft merge error for v3.3.1 (#9290) 2021-09-06 19:16:28 +08:00
zxx43 8d61f407e7 add serializable (#9291) 2021-09-06 18:53:23 +08:00
troublemaker52025 40a40a00ef Remove shadow.autoAdapt property for v3.3.1 (#9286)
* Remove shadow.autoAdapt property for v3.3.1

* update
2021-09-06 18:48:26 +08:00
zhakesi 009c6a9c80 fix: native platform set spine paused state not work (#9279) 2021-09-04 12:16:48 +08:00
Myway b726205bd8 submit terrain select brush (#9282) 2021-09-04 12:15:09 +08:00
Leslie Leigh (李的序) 87775ff2b4 Fast define curve (#9276)
* Fast define curve

* Use fastDefine
2021-09-03 18:57:02 +08:00
Myway 207c960aed fix terrain reset error (#9274)
* fix terrain reset error

* add get weight map interface

* fix eslint error
2021-09-03 10:51:49 +08:00
troublemaker52025 d90ae9227f Shadow culling for v3.3.1 (#9152)
* pre culling

* update culling

* update

* update

* update

* update

* add jsb

* fix ci

* update

* update fov to netave-engine

* update Shadow Projection

* update merge

* update

* fix ci error

* update

* update

* update

* update

* update

* update

* update shadow default value

* update boundingBox Method

* update _shadowpos

* update

* update

* update

* update

* rename range to shadowRange
2021-09-02 19:10:03 +08:00
Leslie Leigh (李的序) 01ed77565a Optimize RealKeyframeValue constructor (#9273) 2021-09-02 18:19:38 +08:00
江战 16ccd6998e 3.3.1 优化属性访问 (#9265)
* opt for non-jit

* move out var

* revert

* Update cocos/core/scene-graph/node.ts

* reduce access property

* Update cocos/core/scene-graph/node.ts

* use normal for loop
2021-09-02 17:21:05 +08:00
troublemaker52025 c1c6885945 add soft shadow for spotLight v3.3.1 (#9162)
* add soft shadow for spotLight v3.3.1

* fix merge error
2021-09-02 11:05:47 +08:00
PP 400ef282fb support audio buffer manager (#9270) 2021-09-02 11:03:20 +08:00
Zeqiang Li d861a08b4b metal extra viewport issue (#9271) 2021-09-02 10:49:48 +08:00
PP d5ccf5d7c7 add sprite frame changed event listener on EditBox (#9266) 2021-09-01 18:03:43 +08:00