Commit Graph

11322 Commits

Author SHA1 Message Date
jk20012001 4f3d85ab78 Fix fog macro->function arguments type error (#9637)
* Fix fog macro->function arguments type error
Fix fog color linear conversion

* Fix eslint warning
2021-11-10 14:31:09 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
PP ab69d20027 Revert "deprecate ENABLE_WEBGL_ANTIALIAS (#9626)" (#9645)
This reverts commit 5ffc4482cd.
2021-11-10 11:27:51 +08:00
Leslie Leigh (李的序) 3b4892ef41 Fix typing on Node.getComponent(3) (#9634) 2021-11-05 18:39:21 +08:00
jk20012001 f488ea0bb1 Fix initialize function override mip levels(groundalbedo.w) (#9633)
* Fix initialize function override mip levels(groundalbedo.w)

* Code style
2021-11-05 17:51:00 +08:00
jk20012001 7ad092a260 Fix: linear color conversion without alpha channel (#9620)
* Fix: linear color conversion without alpha channel

* Code style
2021-11-05 15:22:23 +08:00
Zhang mingzhen 60cae28a26 Optimize label serialization of "spacingX" and "underlineHeight" on v3.4 (#9628)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-05 14:07:09 +08:00
PP d39ce3d3d8 support preventSwallow on EventMouse && EventTouch (#9621)
* support swallowedByTopNode on EventMouse && EventTouch

* experimental

* deprecation

* revert deprecate touch

* use swallowEvent

* update

* use preventSwallow
2021-11-05 14:04:54 +08:00
Leslie Leigh (李的序) 309af621ec Fix typing on Node.getComponent(2) (#9632)
* Fix typing on Node.getComponent() (#9622)

* Fix typing on Node.getComponent()

* Update

* Fix typing on Node.getComponent
2021-11-05 14:03:31 +08:00
PP 5ffc4482cd deprecate ENABLE_WEBGL_ANTIALIAS (#9626)
* deprecate ENABLE_WEBGL_ANTIALIAS

update

* remove deprecation usage
2021-11-05 10:40:51 +08:00
zxx43 fbdc0ef287 add renderCulling tool tip (#9619) 2021-11-04 23:16:14 +08:00
PP dea48a404c remove DPR hack on vivo platform (#9625) 2021-11-04 23:07:48 +08:00
Leslie Leigh (李的序) 41f81a5ca9 Revert "Fix typing on Node.getComponent() (#9622)" (#9627)
This reverts commit 34ace04e9f.
2021-11-04 23:06:44 +08:00
Leslie Leigh (李的序) 34ace04e9f Fix typing on Node.getComponent() (#9622)
* Fix typing on Node.getComponent()

* Update
2021-11-04 18:04:57 +08:00
ChiaNing fd20b561be remove GPU_DRIVEN flag (#9617) 2021-11-04 12:44:24 +08:00
alpha 643444d597 Fix color.fromHex function can't set alpha to zero (#9614) 2021-11-04 12:33:08 +08:00
黄森斌 5f36cbdfff export BindableNumber from animationApi (#9615) 2021-11-04 12:12:25 +08:00
Yun Hsiao Wu fa1ad1eee6 pass owns instanced/batched buffer (#9605)
* pass owns instanced/batched buffer

* no zero-sized buffer

* fix effect default content
2021-11-04 12:08:07 +08:00
zxx43 a897c04885 deprecate enableCulling (#9616) 2021-11-04 12:03:44 +08:00
zxx43 b12d9cac59 Fix tooltip mistake (#9603)
* fix doc mistake

* modify some description

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-04 00:13:47 +08:00
W-MTZing f535925cb7 fixed Cocos play getting Webgl error (#9609) 2021-11-03 23:53:57 +08:00
zxx43 02094d319c Change enable culling to render culling & replace enable culling as data culling (#9611)
* remove enable culling & use render culling instead

* fix setter
2021-11-03 23:52:33 +08:00
zhangxin f3d04f76c0 Refactor particle system render culling (#9613)
* enableCulling to data Culling

* Update particle-system.js
2021-11-03 23:52:14 +08:00
Leslie Leigh (李的序) c961d105f3 Triggers should be only reset when a motion state arrived (#9612)
* Triggers should be only reset when a motion state arrived

* Code

* Fix
2021-11-03 19:43:53 +08:00
GengineJS 911e3bdb95 Calculate shadingscale when initializing framebuffer (#9608) 2021-11-03 18:36:14 +08:00
Leslie Leigh (李的序) 48dbbe3293 Respect to wrap mode of animation clip (#9607) 2021-11-03 16:43:19 +08:00
PP 14a34d2c17 reset currentTime when stop native audio (#9604) 2021-11-03 16:41:34 +08:00
Santy-Wang d1964d4752 remove animation of primitive (#9602) 2021-11-03 12:00:25 +08:00
Zhang mingzhen 6c661a5758 supplement docs of atlasmanager (#9590)
* supplement docs of atlasmanager #9522

* optimize docs.

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-03 10:36:52 +08:00
pandamicro d184f5817b Small tweaks (#9599)
* Make scene._renderScene protected

* Fix removed property access
2021-11-02 18:28:21 +08:00
zhakesi 7e8c6639de revert fix skinning instancing animation (#9598) 2021-11-02 14:36:31 +08:00
zxx43 6fc7c87e99 Pause format (#9596)
* remove format error

* remove useless return statements
2021-11-02 11:52:20 +08:00
Leslie Leigh (李的序) 1aa683493f Fix prefer local time span default value display (#9597) 2021-11-02 11:48:39 +08:00
ChiaNing ab711df60b cut batcher-2d file by cc.config (#9587)
* cut batcher-2d file by cc.config

* name fix
2021-11-02 11:43:57 +08:00
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
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
PP 3a6628d88f fix registering custom event callback on systemEvent (#9592)
update

update
2021-11-01 18:16:14 +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
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
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 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