Commit Graph

17466 Commits

Author SHA1 Message Date
PP 51989a1b76 get exactFitScreen option from game initialization (#9594)
* get exactFitScreen option from game initialization

* set HTML5 as true by default

* optimize editor scene resize
2021-11-02 10:25:49 +08:00
DolaMay a2d87f2e60 Ajust z cluster thread num to meet threads limits (#4025)
* Ajust z cluster thread num to meet threads limits

* Bug fix: sphere and spot lights shared a max lights number
2021-11-01 23:24:05 +08:00
Kun Lin bb97d57969 Bloom supports dynamic switch (#9584) 2021-11-01 22:25:52 +08:00
jk20012001 5dcdb6319b Linearcolor (#9588)
* Fix #9633 color picker linear conversion in unlit shader

* Update compiled shaders

* Fix material: linear space input #9558 delete properties leads to black albedo in additive pass

* Update compiled shaders

* Revert format change

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-01 22:21:00 +08:00
zxx43 c2ce988e8d Fix pause rotation bug (#9589)
* update rotation no matter pause

* update scale no matter pause
2021-11-01 19:30:34 +08:00
Leslie Leigh (李的序) 4ca70507b2 Prefer local time span (#9593) 2021-11-01 19:16:39 +08:00
Myway a7a56fbcf0 fix terrain build error (#9591) 2021-11-01 18:45:29 +08:00
GengineJS 2aa0db788b Solve the problem of batched buffer memory leak (#4023)
* Solve the problem of batched buffer memory leak

* update batchedbuffer
2021-11-01 18:28:24 +08:00
PP 3a6628d88f fix registering custom event callback on systemEvent (#9592)
update

update
2021-11-01 18:16:14 +08:00
timlyeee 6084e75352 Add inherited link flag for apple system (#4024)
https://github.com/cocos-creator/3d-tasks/issues/9768
2021-11-01 18:15:33 +08:00
lawrence-liuyue 55017b51be Sspr envmap (#4021)
* sspr use envmap

* sspr use envmap update

* Update LightingStage.cpp

* DeferredPipeline: enable main light ShadowMap

* position reconstruction in reflector pass

* sspr denoise envmap

* use envmap in sspr when envmap is enabled
2021-11-01 18:15:17 +08:00
Kun Lin 40e04cf6fe Bloom supports dynamic switch (#4022) 2021-11-01 18:14:52 +08:00
Zeqiang Li cebf90ded6 fix copytextobuffer (#4019)
* fix copytextobufer

* nullptr after destroy

* remove begin in device copytextobuffers

* fix ios
2021-11-01 17:11:24 +08:00
Yun Hsiao Wu 2120ad7213 webgl: fix instance count predicate (#9586) 2021-11-01 11:21:01 +08:00
Leslie Leigh (李的序) 07fb27dac4 Support more state machine component callbacks (#9556)
* StateMachineComponent

* Rename
2021-11-01 10:31:27 +08:00
PP 1ed2a9833e optimize screen adaption on Web platform (#9580)
* optimize screen._init

* support WindowType on Web platform

* optimize fullscreen adaption

* optimize frame resize

update

* set timeout to handle screen event

* fix esLint

* fix esLint

* fix spelling

* fix number type

* EVENT_TIMEOUT

* fix esLint

* revert naming 'OrientationMap'
2021-11-01 00:01:49 +08:00
Jare Guo 00cf281cf0 switch error url to develop branch (#9582) 2021-10-30 22:16:01 +08:00
Zhang mingzhen 9cc297e7d1 update testcase of getpathinhierarchy #9203 (#9581) 2021-10-30 22:14:55 +08:00
zxx43 ee950e4b93 Particle tooltip (#9492)
* add tooltips for particle system

* refine particle tool tips

* change some descriptions

* Update editor/i18n/zh/localization.js

Co-authored-by: yufang.wu <2435731537@qq.com>

* refine some statements

Co-authored-by: yufang.wu <2435731537@qq.com>
2021-10-30 22:08:29 +08:00
黄森斌 82a3d64adc modify render-texture editing (#9578) 2021-10-30 22:04:11 +08:00
Yun Hsiao Wu 3669d5e00a clean up gfx module for independent compilation (#9573) 2021-10-30 22:03:17 +08:00
Myway 41c50ac9c6 fixed terrain component not call onload to initialize (#9566)
* fixed terrain component not call onload to initialize

* fix eslint error

* fix eslint
2021-10-30 21:56:08 +08:00
Zhang mingzhen a315eecd55 optimize scroll view offset annotations in v3.4 (#9563)
* optimize offset annotations #8625

(cherry picked from commit 993cc695d1b0e1c59f852dfabff1ed58d9448311)

* optimize annotations

(cherry picked from commit b1556674949c4a56e97324d4ce2f3ed896d5e06e)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-30 18:48:50 +08:00
Zhang mingzhen 750201e1a8 optimize scroll view offset annotations in v3.5 (#9553)
* optimize offset annotations #8625

* optimize annotations

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-30 18:43:54 +08:00
Zhang mingzhen 80160d1114 fix bug that causes autoScrolling is always triggered#8443 (#9564)
(cherry picked from commit f22ffa7d4f706375ddfd743179760a68384bec44)

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-30 18:41:24 +08:00
ChiaNing 4f778c7ddb fix sprite frame reset bug when Atlas delete (#9579)
* fix sprite frame reset bug when Atlas delete

* change function
2021-10-30 18:22:53 +08:00
Zhang mingzhen 9f77edb1f7 Add a method "getCompletePath()" to print complete path in hierarchy (#9536)
* Bump tmpl from 1.0.4 to 1.0.5 (#9357)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add a method "getCompletePath()" to print complete path in hierarchy#9203

(cherry picked from commit 9acba34514f43730494b548a7e9c22bf21a6d555)

* delete "getCompletePath()" in "BaseNode" and "Scene"

* Revert "Bump tmpl from 1.0.4 to 1.0.5 (#9357)"

This reverts commit 33375839a6.

* Optimize method name and supplement the annotations #9203

* optimize annotations

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Santy-Wang <wh19930829@qq.com>
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-30 18:12:24 +08:00
Zhang mingzhen f6edc13da7 set active false if param is undefined or null (#9571)
* set active false if param is undefined #9397

* add condition that param is null and the unit test #9397

* ignore grammar error

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-30 15:23:21 +08:00
江战 a9241b8955 3.4.0 reduce warning (#4020)
* reduce warning
2021-10-30 14:41:35 +08:00
jk20012001 56515cc84f Code style: replace macros to functions (#9572)
* Code style: replace macros to functions

* Update compiled shaders
2021-10-29 18:16:47 +08:00
Yun Hsiao Wu a6ddac0320 forward stage should always clear (#4017) 2021-10-29 18:06:38 +08:00
Zeqiang Li 0af0578d6c metal sampler index (#4018)
* metal sampler index

* comment

* better strategy
2021-10-29 16:49:17 +08:00
zxx43 cbfdeaa6f3 Fix plist image not exist (#9567)
* check imageAsset exist

* change import & no-lonely-if
2021-10-29 16:10:09 +08:00
fish9167 809d83b13f Add GitHup Action (#9542)
* add githtp action

automation add label assignment

* add githup action

mirror gitee

* Update mirror_gitee.yml

* Update mirror_gitee.yml

* Update mirror_gitee.yml

* change organization

change organization

* change token 

change token
2021-10-29 15:07:37 +08:00
Zhang mingzhen 195c993e77 fix bug that causes autoScrolling is always triggered#8443 (#9548)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-29 13:53:45 +08:00
pandamicro d5e417ac28 Merge pull request #9569 from cocos-creator/v3.4.0
sync V3.4.0 to V3.5.0
2021-10-29 13:31:05 +08:00
ChiaNing 92c0e7c154 fix set trim bug (#9568) 2021-10-29 11:48:22 +08:00
Yun Hsiao Wu c66ef23455 material: linear space input (#9558) 2021-10-29 11:11:50 +08:00
PP 40b39ca7f5 fix screen size on Alipay && optimize DPR on vivo platform (#9560)
* fix screen size on Alipay

stash

* optimize DPR on vivo platform

* optimize code
2021-10-29 11:09:05 +08:00
jk20012001 bb8686572e Add accurate fog (#4016) 2021-10-29 10:22:50 +08:00
jk20012001 05bfe29cc2 Fog on big plane #7907 (#9561)
* Add accurate fog (pixel fog), add fog start support to exp fog

* Update compiled shaders

* effects support accurate fog
2021-10-29 10:22:46 +08:00
李吉林 8d96e25cd6 add no wait query for vk (#4010)
* add no wait query for vk

* rename resetQuery and completeQuery

* fix warning

* add forWait for query

* rename to vkPool
2021-10-28 18:21:06 +08:00
Yun Hsiao Wu 6495003e45 fix webgl location predicate compatibility issue (#9555) 2021-10-28 17:33:54 +08:00
GengineJS eab5b9f746 Organize the pipeline and modify the default stage of builtin-forward.rpp (#9551) 2021-10-28 15:58:27 +08:00
Zhang mingzhen 6cf23d3054 Serialization of SpacingX (#9541)
* Serialize the attribute "SpacingX" in inspector of Label

* Add annotations of SpacingX in Label.ts#9187

* Add space between chinese and english characters.

* optimize tooltips and annotations

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-10-28 14:57:28 +08:00
zhakesi 325b2cf1f1 fix instancing animation rendering on some platforms with no float-texture supported (#9550) 2021-10-28 14:14:49 +08:00
GengineJS be187bcd01 Fix forward pipeline native serialization failure (#9549) 2021-10-28 10:49:11 +08:00
qiuguohua 30993747a5 Remove all_flag in IOS (#4014) 2021-10-28 10:00:05 +08:00
Yun Hsiao Wu ed77f18027 misc fixes (#4013)
* sampler wrap mode validation

* fg: fewer hashing per frame

* better interface names for query pool

* auto update fbo after rt resize

so that the framegraph reuse logic can work
2021-10-28 09:45:38 +08:00
江战 c8bbda6277 fix se crash (#4012) 2021-10-27 18:43:23 +08:00