Commit Graph

49 Commits

Author SHA1 Message Date
troublemaker52025 28d675e58f The globalStandardSkin setting is placed on the meshRenderer component (#15274) 2023-06-02 22:13:00 +08:00
troublemaker52025 07f3dedad9 Optimize skin with post-process pipeline (#15189) 2023-06-01 18:44:48 +08:00
yinkaile ed038be6ac add shadow pass & add usePostProcess (#15027) 2023-05-12 11:21:17 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +08:00
jk20012001 d110e48a88 add post process manager and component (#14916) 2023-05-04 18:38:13 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
zxx43 35975e1aae add deprecate api (#14844)
* add deprecate api

* modify suggest
2023-04-19 12:34:03 +08:00
zxx43 fbbdab53a4 use getSharedMaterial to replace getMaterial (#14814)
* use getSharedMaterial to replace getMaterial

* call getSharedMaterial directly

* modify note
2023-04-19 11:07:46 +08:00
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
PP 386ec2895a [cherry-pick] AOT-3: optimize uinstrict code (#14315) (#14523)
* AOT: optimize uinstrict code

- mark some unstrict code as TODO
- remove some unstrict code

* update comment

* remove ts-check
# Conflicts:
#	cocos/2d/framework/deprecated.ts
#	cocos/asset/assets/image-asset.jsb.ts
#	cocos/asset/assets/texture-base.ts
#	cocos/core/assets/image-asset.ts
#	cocos/core/math/rect.ts
#	cocos/core/scene-graph/scene-globals.jsb.ts
#	cocos/native-binding/impl.ts
#	cocos/scene-graph/node-dev.ts
#	cocos/scene-graph/scene-globals.ts
#	exports/sorting.ts
2023-03-10 13:36:45 +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
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
徐兵 3dc654cbcd move reflection-probe to 3d module (#13711)
* add validate

* fix switch probe error

* export  reflectionProbe

* remove export reflectionProbeManager

* export
2022-12-08 16:31:46 +08:00
徐兵 6d9c0c8f93 add planar reflection culling and refresh models after delete probe (#13671) 2022-12-07 15:12:20 +08:00
bofeng-song 19b63ca762 move lod to 3d module (#13704)
* move lod to 3d module
2022-12-07 14:09:54 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
Knox a3d924e5e5 Repair the problem of non-standardized property settings (#13667)
* refine code, add default values and update types
2022-12-06 11:17:22 +08:00
徐兵 1305534329 optimize probe refresh in editor mode (#13620) 2022-12-05 18:35:16 +08:00
徐兵 68a89458ff optimize planar reflection culling (#13576) 2022-11-29 17:05:21 +08:00
bofeng-song b7118ecd32 fix lod can not be construct after reset lodGroup by editor's panel (#13548)
(cherry picked from commit 20a0e449aeaef8aabb5d167c018fc7991d1fc684)
2022-11-24 21:49:35 +08:00
bofeng-song 3b00de9cd2 fix lod's objectSize can not be auto calculated (#13545)
* fix lod's objectSize can not be auto calculated

(cherry picked from commit 319da00ffd58e6a0847904d70cb2661a0b31ec22)
2022-11-24 18:21:05 +08:00
徐兵 bbc720d67b clear the baked result of the preview sphere (#13504) 2022-11-23 14:46:22 +08:00
徐兵 fe50911874 fix editor build error (#13500) 2022-11-23 10:51:11 +08:00
bofeng-song ecb6e7d24a Fix the wrong value of the localBoundaryCenter attribute when the value deserialized from file (#13489)
(cherry picked from commit af27d1f01558739f73395ff6767434cbe5eb99d0)
2022-11-23 10:43:55 +08:00
徐兵 d9eab1e8d6 add code comment and fix shader compiling error (#13478) 2022-11-23 00:16:37 +08:00
徐兵 0f8d8cd3d9 reflection probe support instancing and moving update (#13426) 2022-11-22 10:16:55 +08:00
bofeng-song e02753e5bd modify default screen occupation (#13448) 2022-11-21 11:57:44 +08:00
zhangxin 4afe6366ff remember last size of reflection-probe (#13439) 2022-11-18 19:18:07 +08:00
bofeng-song 702b85e9b7 fix wrong objectSize calculated (#13428)
* fix wrong objectSize calculated

* refine
2022-11-18 11:19:39 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
zhangxin bc9b41f0e0 Update reflection probe (#13333)
* [editor]update reflection-probe

update reflection-probe
- update reflection-probe gizmo icon
- update inspector of mesh renderer
- update inspector of reflection-probe
- reflection probe 's size will be readonly

* Update reflection-probe.ts

* eslint
2022-11-10 22:15:40 +08:00
changhua 85fa1eaf53 [3.7.0] fix lodGroup component and update inspector lod panel (#13304)
* fix lodGroup component; update lod inspector panel;

* update review
2022-11-10 21:03:58 +08:00
徐兵 4a3415ee39 fix reflection probe cube face orientation and some optimization (#13249) 2022-11-07 19:00:10 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
changhua 392980a909 [Optimize] update lod inspector panel (#13216)
* update lod inspector panel to fix screen size and optimization panel tips

* update

* if default object size is 0,run recalculateBounds
2022-11-02 21:33:30 +08:00
徐兵 363dc8ec3a [fix] compile error in cocos runtime and optimize bake probe cubemap (#13208) 2022-11-02 14:21:25 +08:00
bofeng-song e67aa08984 remove unneed code & fix objectSize can not set to scene's LodGroup (#13211)
* fix wrong Lod's wrong size, if user doesn't call recalculatedBounds

* remove unneed code &  fix objectSize can not set to scene's LodGroup
2022-11-02 11:06:32 +08:00
zhangxin 9181bf5e7c update reflection-probe's inspector and move develop's code to editor,add gizmo icon (#13185) 2022-10-31 16:12:58 +08:00
徐兵 92f74f55b2 reflection probe texture binding (#13168) 2022-10-28 19:07:17 +08:00
bofeng-song 19f1329a52 fix set LODs will change the input's variable & refine function name (#13164) 2022-10-28 09:54:58 +08:00
徐兵 120d7fe959 add reflection probe (#13155) 2022-10-27 15:36:56 +08:00
minggo ef1635d267 move prefab related classes into scene-graph (#13156) 2022-10-27 11:30:34 +08:00
bofeng-song 28555c355a Lod (#13072) 2022-10-27 10:39:56 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
minggo aa0515103f move some functions of intersect to misc (#13040)
* move some functions of intersect to misc
as these functions depend on upper modules
2022-10-14 14:37:53 +08:00
minggo b65379fae2 move prefabl-link.ts to cocos/misc (#12937) 2022-09-29 14:05:04 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00