Commit Graph

477 Commits

Author SHA1 Message Date
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
troublemaker52025 8c88f0cfe9 fix pcf type not display for v3.3.1 (#9300) 2021-09-08 15:47:12 +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
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
Zeqiang Li d861a08b4b metal extra viewport issue (#9271) 2021-09-02 10:49:48 +08:00
Yun Hsiao Wu 4cf1350fe0 gfx: swapchain refactor (#9030)
* update effect.hideInEditor

* swapchain refactor

* webgl multi draw

* implicit depth/stencil format

* native adapt

* explicit resizable texture

* DrawInfo in InputAssembler

* device cached states

* sync defines

* gfx: empty backend

* update playground

* remove profiler camera

* update effect types

* fix pass.resetUniform
2021-08-31 19:40:50 +08:00
Santy-Wang 93889feac4 Merge pull request #9187 from cocos-creator/v3.3.0
sync V3.3.0
2021-08-16 17:19:58 +08:00
jk20012001 a6dfddc780 Fix spotlight shadow formerge (#9177)
* fix spotlight shadow matrix, lineardepth, selfbias error (#8483)

* Spotlight shadows: Added depthbias in viewspace units

* Remove now unnecessary UBO constants

* Add support for directional lights

* fix spotlight shadow matrix, lineardepth, selfbias error (#8483)

* Fix Spotlight light leaking in backface and compiling error

* fix dirlightview matrix error

* more accuracy for spotlight shadow bias

* Fix face normal bias

* Fix DirLight Soft/Soft2X

* improve performance for ShadowUBO divid op

* remove spotshadow linear mode(can't work with new shadow bias), fix spotshadow linear mode

* fix spot shadow linear mode

* directional light packing mode and disable linear mode

* compiled effects

Co-authored-by: Jamie Anthony Morris <Jamie.Morris@cocos.com>
2021-08-16 14:50:41 +08:00
cary 0a1356a816 Compatible with non-ReadOnly parameters. (#9160) 2021-08-15 22:01:41 +08:00
troublemaker52025 c0c1c0313f update light luminance name for v3.3.0 (#9142)
* update light luminance name for v3.3.0

* update

* add deprecated

* update

* update

* fix ci error

* update

* update

* update
2021-08-06 15:09:25 +08:00
troublemaker52025 977c19dd1e Fix mat world it nan v3.3.0 (#9133)
* fix MatWorldIT will be used Nan for v3.3

* update
2021-08-06 13:08:21 +08:00
GengineJS 950518c251 Fix the incorrect ModelBounds of BakedSkinningModel (#9113) 2021-08-02 17:06:42 +08:00
GengineJS da05275968 Fix the problem that mainlight cannot be closed (#9104) 2021-08-02 10:32:55 +08:00
cary b8ec697a23 Change the sync of native pass to message queue. (#9096) 2021-07-30 10:15:05 +08:00
GengineJS 3fbe3a1ea8 Treat the scene node as the native root node (#9072) 2021-07-29 18:30:42 +08:00
Santy-Wang ad5887440d use debug to print information (#9082)
* use debug to output information

* use info to output some key information
2021-07-28 13:36:13 +08:00
江战 6270f592be 3.3 some optimization (#9069) 2021-07-27 13:38:56 +08:00
GengineJS 13d86798d4 Solve the circular reference between renderscene and nativescene (#9039) 2021-07-23 14:27:05 +08:00
GengineJS 4df80e89f4 Modify the sharing method of node changeFlag (#9016)
* Modify the way to add native instance views

* Modify the sharing method of node changeFlag

* Remove nodepool flagchange
2021-07-21 00:11:51 +08:00
GengineJS 38fd475242 Fixed invalid buffer pool handle (#9011) 2021-07-20 11:40:50 +08:00
GengineJS d482e113d1 [Fix] the problem that the pipeline scene data switch scene ia is null (#8989) 2021-07-16 09:37:27 +08:00
troublemaker52025 9854f33225 fix shadow problem for v3.3.0 (#8916) 2021-07-14 09:26:38 +08:00
GengineJS e0c8544c13 [Fix] Crash caused by real-time mesh generation on the native side (#8942)
* [Fix] Crash caused by real-time mesh generation on the native side

* According to the index removeModel
2021-07-09 16:20:50 +08:00
GengineJS de7039435a Implement native Baked Skinning Model (#8921) 2021-07-01 16:03:32 +08:00
minggo c0ed00c509 Fix memory leak (#8914) 2021-07-01 14:46:28 +08:00
江战 af1251493e updte rootbufferdirty (#8919) 2021-06-30 14:04:00 +08:00
江战 f445c9eec0 Revert "3.3 fix pass flag (#8909)" (#8917)
This reverts commit 6bca79419e.
2021-06-30 13:38:02 +08:00
江战 6bca79419e 3.3 fix pass flag (#8909) 2021-06-30 11:43:37 +08:00
GengineJS eb2532b635 Fix testcase raycast scene (#8902) 2021-06-28 18:11:08 +08:00
GengineJS 45b8cc6d03 [Modify] AABB shared data (#8884) 2021-06-28 15:31:50 +08:00
santy-wang c5dd05fbf1 Merge branch 'v3.1.2' of github.com:cocos-creator/engine into v3.3-merge 2021-06-28 14:40:34 +08:00
江战 f63b13dad5 fix typo (#8887) 2021-06-25 21:03:14 +08:00
troublemaker52025 80655bee84 add SOFT_2X sampler for Native PCF shadow v3.1.2 (#8888)
* add SOFT_2X sampler for Native PCF shadow v3.1.2

* update
2021-06-25 14:49:46 +08:00
troublemaker52025 c356e37ac2 add Native Pcf for v3.1.2 (#8867)
* add Native Pcf for v3.1.2

* fix circular dependency

* update

* delete x25 sample

* rename Hard & Soft,default sampler use Filter.POINT

* add TODO
2021-06-24 16:59:09 +08:00
江战 f70400fcef fix typedarray (#8869) 2021-06-24 14:20:48 +08:00
江战 94e476f93d 3.3 bugfix instance attr buffer sync (#8861) 2021-06-24 10:15:13 +08:00
cary a217f701ad Optimize the synchronization of Pass. (#8838) 2021-06-23 13:40:02 +08:00
GengineJS 3b911a6554 [Add] native renderScene update (#8863) 2021-06-22 16:41:26 +08:00
cary 71c4fc5434 Fix localSetLayout error of submodel. (#8854) 2021-06-22 10:30:45 +08:00
cary 249da72d43 Fix the shader error of submodel. (#8853) 2021-06-21 17:28:42 +08:00
minggo 72490d8236 Revert "[add] native renderScene update (#8781)" (#8847)
This reverts commit 2c6fda1e3e.
2021-06-18 18:13:10 +08:00
GengineJS 2c6fda1e3e [add] native renderScene update (#8781) 2021-06-18 17:34:17 +08:00
santy-wang 51d80d3815 Merge branch 'v3.1.2' of https://gitlab.cocos.net/publics/engine into v3.3-merge 2021-06-16 17:37:10 +08:00
troublemaker52025 b4e5fe4b4e fix setting cubMap does not work for v3.1.2 (#8813) 2021-06-12 22:06:24 +08:00
cary 4305e4c132 Modify the memory pool and remove the deprecated code. (#8776) 2021-06-10 09:06:35 +08:00
cary 6d02e2bc17 Fix gizmo not render in editor. (#8799) 2021-06-09 17:26:11 +08:00
Santy-Wang 75f10acbb7 sync v3.1.2 (#8794)
* Do not modify local descriptor set v3.1.2 (#8773)

* delete local descriptorSet for v3.1.2

* update

* V3.1.2 zxx43 particle (#8784)

* fix https://github.com/cocos-creator/3d-tasks/issues/7421

* remove temp params & add create function to onFocusInEditor

* restrict particle system object count

* print error msg

* Add globalDSManager for v3.1.2 (#8727)

* update

* update

* update

* update

* delete for of

* update

* update

Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
2021-06-09 16:04:16 +08:00
minggo 424232493e Merge pull request #8777 from minggo/merge_v3.1.2
Merge v3.1.2
2021-06-09 14:12:21 +08:00