Commit Graph

19737 Commits

Author SHA1 Message Date
troublemaker52025 d6ad4bca43 fix shader uniform compare error with low precision (#14161) 2023-02-07 16:29:40 +08:00
李吉林 908f70a500 light probe visualization (#14160)
* light probe visualization
2023-02-07 16:14:52 +08:00
jk20012001 47f37a9efe fix compilation error for include attenuation.chunk in standard-shading-base (#14154) 2023-02-07 11:22:50 +08:00
Ling Zhan 1a121bbe65 [feat] collider2d component works without rigidbody2d component (#15479) (#14102)
if rigid body is not attached to the same node of collider, this b2.shape is attached to the groundRigidBody(pos zero, rot zero)
2023-02-07 10:47:26 +08:00
zhakesi 4f9c1674b7 fix debug graphics show ahead of time (#14074) 2023-02-07 10:32:02 +08:00
jk20012001 148703fd8b fix compilation error for include attenuation.chunk in standard-shading-base (#14151) 2023-02-06 16:56:53 +08:00
jk20012001 4d9d2214b3 fix debug view uniform format do not match (#14146) 2023-02-06 10:06:28 +08:00
Cocos Robot e9b962ebf8 [ci skip][AUTO]: Automated code generating update: 5f845491f88f35b53863c6816d0195d37eaa6730 (#14087) (#14138)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-03 23:05:32 +08:00
troublemaker52025 03fe6aca9a add dir-light visibility and support baked light (#14087) 2023-02-03 15:46:14 +08:00
徐兵 878b7db4a5 optimize reflection probe (#14115) 2023-02-03 15:43:04 +08:00
李吉林 cb08bbba57 reorder mesh in MeshRenderer inspector (#14137) 2023-02-03 14:37:31 +08:00
李吉林 093b6972df V3.7.2 light probe baking changed (#14134)
* add onLightProbeBakingChanged
2023-02-02 21:00:16 +08:00
jk20012001 516e2bb538 update material meta files with pr #227 (#14133) 2023-02-02 18:36:20 +08:00
jk20012001 7c5b89deb2 add new debug view options and runtime controll (#14083) 2023-02-02 15:09:20 +08:00
minggo f74ab840b9 update package description (#14128) 2023-02-02 14:34:21 +08:00
Cocos Robot 032b22ba9e [ci skip][AUTO]: Automated code generating update: 717f1ba1574dc5bf8864c128efbdb9afb411245d (#14127) (#14129)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-02 14:25:41 +08:00
minggo 05dd06d337 update engine version (#14127) 2023-02-02 14:17:12 +08:00
minggo 1fc74be6e2 improve bitmask api (#14116) 2023-02-02 14:09:32 +08:00
zxx43 360e8c54d5 V3.7.0 Particle system apis (#13952)
* add some English api

* add particle module api

* add api for particle modules

* add noise api

* add api for particle system

* add some particle system apis

* fix some apis

* modify some particle apis

* modify some api docs

* modify english translation
2023-02-02 11:41:48 +08:00
James Chen cce921b778 [native] Fix Mesh._ctor synchronizes an empty value to native if getting Mesh by MeshUtils.createMesh (#14105) 2023-02-02 11:10:30 +08:00
Cocos Robot 611384e935 [ci skip][AUTO]: Automated code generating update: 233bc4831e98d2c1b46122ad128044275647952e (#14061) (#14120)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-02 10:52:05 +08:00
hyde zhou 8c612a3bbb [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 17:46:34 +08:00
ChiaNing 221c37a275 Protect scroll bar error when its deleted (#14041)
* Protect scroll bar error when its deleted

* change to is Valid
2023-02-01 17:38:53 +08:00
hyde zhou 6dd16771cb [pipeline] enable custom pipeline in editor (#14084)
* enable custom pipeline in editor

* always enable in runtime
2023-02-01 17:38:04 +08:00
zxx43 f57fa31cdf Modify 2d particle default color varying (#14036)
* set default color varying as 0

* modify default 2d particle plist color variance
2023-02-01 16:55:44 +08:00
mmyduckx c36728e768 fix iOS getBatteryLevel value is -1 (#14113)
* fix iOS getBatteryLevel value is -1
2023-02-01 15:58:22 +08:00
minggo 32c08e73f9 merge container-manager.ts and scalable-container.ts (#14107)
* merge `container-manager.ts` and `scalable-container.ts`
* rename `ContainerManager` to `ScalableContainerManager`
* rename `containerManager` to `scalableContainerManager`
2023-02-01 14:12:46 +08:00
troublemaker52025 48da4f06cf fix instanced queue rendering multiple times (#14072) 2023-02-01 10:37:43 +08:00
jk20012001 414bd2a512 fix terrain.effect compilation error (#14109) 2023-02-01 10:18:26 +08:00
zhangxin 3773d8b2d2 [Optimize] add image asset's zh i18n (#14108)
* add image asset's zh i18n

* Update assets.js
2023-01-31 13:43:15 +08:00
jk20012001 e70a9aaee2 fix data compatible with wrong normal tangent data (#13984) 2023-01-30 01:01:20 +08:00
bofeng-song 92c0220258 fix shadow not work while radiu set to 0 (#14047)
* fix shadow not work while radiu set to 0
2023-01-20 08:11:17 +08:00
PP 271940c813 fix image loading on Xiaomi platform (#14064) 2023-01-20 07:59:27 +08:00
pandamicro c8d1c8e927 Improve camera API doc and fix some range declarations (#14088)
* Improve API doc for camera

* Improve inspector range declarations

* Fix typo
2023-01-18 16:14:21 +08:00
Myway ddd059dc71 add highp lightmap macro (#14081) 2023-01-17 16:39:05 +08:00
zhakesi 10564633bc fix tween api docs (#14079) 2023-01-17 13:41:35 +08:00
hyde zhou 2a48624a74 disable custom pipeline in editor (#14077) 2023-01-17 11:37:35 +08:00
Myway 8a59780e6f fix shader compilation error with new version of lightmap (#14071) 2023-01-16 11:24:27 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
jk20012001 9485b4cd25 fix shadowmap lowp with huawei and reflection probe brightness (#14058) 2023-01-13 10:40:15 +08:00
zxx43 dd0d4da609 no need to check visible for start rotation z (#14052) 2023-01-13 10:34:42 +08:00
Ling Zhan f8f121c732 [fix] refactor physics2d contact listener (#14026)
* [opt] physics2d box2d contactListner optimization

* back. todo: pre,post,_begin,_end, physicsContact class

* new contact listener works now.

* code refactor

* tweaks

* tweaks

* rename finalizeCollision to finalizeContactEvent

* align physics 2d events with physics 3d.

* tweaks

* fix builtin2d

* tweaks box2d

* Revert "tweaks box2d"

This reverts commit d5d0cbd36e6669844e363513c5861904e37153a5.

Revert "fix builtin2d"

This reverts commit 143b4b2abcc90f585f019a6b027c9053acb1fc73.

Revert "tweaks"

This reverts commit b9c449ec85d2ed408ebeceebb6efd10ec1f117a5.

Revert "align physics 2d events with physics 3d."

This reverts commit c12f102c6f7777266e3986bdf72a90656fa2b453.

* tweaks

* compatibility

* tweaks
2023-01-12 22:01:01 +08:00
bofeng-song 56e714696a Fix the lod that does not work properly when forced to use certain levels (#14055) 2023-01-12 15:25:58 +08:00
bofeng-song d5ea0063a8 Repair the problem of unsynchronized model data when adding lod levels dynamically (#14054) 2023-01-12 14:42:11 +08:00
Ling Zhan ce7e0d05e6 [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398 (#14048) (#14053)
* [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398

* tweaks

* tweak

* add HALF_PI, TWO_PI

* toEulerAngle-->toEulerInYXZOrder
2023-01-12 13:59:09 +08:00
bofeng-song f7b4eeef81 fix models can not be show normaly while it set to multi levels (#13975)
* fix models can not be show normaly while it set to multi levels
2023-01-12 11:48:58 +08:00
pandamicro 287827ffbe Merge pull request #14037 from pandamicro/v3.7.1
Merge v3.7.0 to v3.7.1
2023-01-10 15:35:38 +08:00
pandamicro 0a8dc371b2 Merge branch 'v3.7.0' into v3.7.1 2023-01-10 14:58:57 +08:00
pandamicro 826d9de87b Revert "Revert "[feat] physics2d add doc hint (#13897)" (#13972)"
This reverts commit 4dd965dd6f.
2023-01-10 14:58:41 +08:00
Santy-Wang e2a04dd7bd add more api docs (#13937)
* print the engine version

* refine docs

* refine docs

* refine docs

* add more docs

* fix some error

* add pipeline and task docs

* refine

* refine

* fix d.ts error

* refine and add uuid getter

* fix syntax

* refine link
2023-01-10 12:00:45 +08:00