Commit Graph

1001 Commits

Author SHA1 Message Date
troublemaker52025 03fe6aca9a add dir-light visibility and support baked light (#14087) 2023-02-03 15:46:14 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
jk20012001 42e4a14f82 debug view support with native engine (#13996) 2023-01-09 10:18:21 +08:00
徐兵 ad4fb8b0e8 binding (#13944) 2022-12-29 11:13:14 +08:00
徐兵 e6018c78d4 native engine support reflection probe bake cubemap (#13869) 2022-12-22 16:29:50 +08:00
江战 ba7e90475c pipeline js bindings (#13786) 2022-12-15 09:51:04 +08:00
Zeqiang Li a02402a2bc ignore dragonbones' global enum/const char* (#13793) 2022-12-12 17:23:48 +08:00
Myway e30adb09ad Add lightmap shader macos for native model (#13774)
* terrain support stationary light map
fixed terrain light map shader compile error

* fixed brush invalid material cause missing lighting map uniform

* Add lightmap shader macros for model

* fixed compile error

* Add bakedStationaryMainLight jsb property for scene globals
2022-12-09 16:33:01 +08:00
James Chen 9cb0345a9b Fix particle-align testcase reports the script error: _updateWorldBoundDescriptors is undefined (#13773) 2022-12-09 15:23:43 +08:00
徐兵 8aeb4fc098 fix the native engine preview sphere to show black (#13745)
* surface shader error

* ci error

* preview

* fix crash
2022-12-09 10:01:20 +08:00
James Chen 65fcc225b6 fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute (#13740)
* fixed #12670: [doc] Swig documentation about %arg(...) and not need to add const prefix for attribute
2022-12-08 17:15:16 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
李吉林 42b5d4628f add cpp call js function (#13731)
* support emitting MobilityChanged & AncestorTransformChanged events in c++
2022-12-08 11:23:43 +08:00
江战 cade7f10d4 JSB: bind some geometry types (#13681) 2022-12-07 14:26:32 +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
James Chen e56b4c3cb8 Fix material inspector missing elements (#13674)
* Add missing properties in EffectAsset.h for editor

* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional

* Add IPropertyEditorInfo struct.

* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00
zhangxin fd665d36fc [fix] cc::scene::Camera::syncCameraEditor (#13673)
* [fix] cc::scene::Camera::syncCameraEditor

- remove ignore cc::scene::Camera::syncCameraEditor
- use const ptr instead of cosnt ref

* Update scene.i
2022-12-06 13:37:18 +08:00
James Chen 72fcf7797b [native] Fix missing PipelineRuntime::macros property and fix wrong key in ShadowFlow.cpp (#13660) 2022-12-06 09:14:56 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
zxx43 a485712874 fix particle 2d native crash (#13655) 2022-12-05 15:52:04 +08:00
James Chen c89c532b6d [native] Fix some decorators are missing. (#13651)
* [native] Fix some decorators are missing.
2022-12-05 15:46:42 +08:00
李吉林 13d49b1a9b fix mesh merge error (#13639)
* fix mesh merge error

* add log.h for android

* fix DebugRenderer update on metal
2022-12-05 10:18:22 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00
bofeng-song c0d989abab fix LOD's error while using at native scene (#13579) 2022-11-28 18:22:33 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
timlyeee cb51f8d569 Dev simulator (#13469)
* Fix simulator start error
2022-11-23 15:28:59 +08:00
troublemaker52025 050f9bdb16 add shadow layer transition for csm (#13144) 2022-11-22 18:34:08 +08:00
李吉林 184c8a9c91 refactor light probe data (#13484)
* refactor light probe data
2022-11-22 18:22:52 +08:00
James Chen 32a6aba4fb Fix some swig warnings and fix the issue that Node::mobility is not bound, update swig to 4.1.0 release (#13425)
* Update swig config, fix some warnings

* Update TextureBase.h, don't make _width, _height public

* Revert genbindings.js

* Update external to develop-8
2022-11-18 11:56:09 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
fqamic 71314f0e81 merge xr platform function codes (#13360)
* feat: add xr settings for xrEnv and xrType

* improve: remove redundant code for xr interaction

* improve: remove redundant code for frameMove

* fix: xr jsb bind adapt to swig

* feat: adapt to xr preview mode, add handle simulation event
2022-11-14 17:12:25 +08:00
李吉林 7a32e653cb remove component related code from native (#13352)
* remove component related code from native
2022-11-14 11:34:42 +08:00
jk20012001 652bf03964 Fix model updateInstancedAttribute binding (#13348) 2022-11-14 11:27:05 +08:00
李吉林 3d7beff293 support instancing for light probe (#13324) 2022-11-10 18:09:42 +08:00
江战 9894dca7d6 fix bindings (#13316) 2022-11-10 16:11:24 +08:00
bofeng-song 78889daf71 export lodGroups for native-editor (#13225) 2022-11-03 09:32:46 +08:00
Yiwen d848935a07 Fix physics js binding configuration (#13227) 2022-11-02 21:50:54 +08:00
江战 6d0a32c7e9 include jsb_cocos_auto.h (#13205) 2022-11-02 09:42:57 +08:00
李吉林 5461e5490c fix jsb error & undo error (#13207)
* fix jsb error & undo error
2022-11-01 19:03:17 +08:00
江战 7ccd14e6e6 JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color (#12968) 2022-10-31 17:24:54 +08:00
徐兵 92f74f55b2 reflection probe texture binding (#13168) 2022-10-28 19:07:17 +08:00
bofeng-song 80415048df native implement for LOD (#13167)
* native implement for LOD
2022-10-28 18:29:53 +08:00
江战 280fd976bc Add EventTarget & EventBus (#13100) 2022-10-28 15:44:33 +08:00
李吉林 e43f18d764 add light probe bake setting (#13169)
* add light probe bake setting
2022-10-27 22:05:22 +08:00
troublemaker52025 4bb8dfd702 [Feature] add visibility for light component (#13131) 2022-10-26 15:26:56 +08:00
mmyduckx 509b89f799 remove depreacted binding-generator (#13130)
* remove depreacted binding-generator

* add xr.i & remove useless code

* refine assets.i

* add xr.i

* remove xr in genbindings.py

* remove useless comment.
2022-10-26 12:00:59 +08:00
hyde zhou 49974b80ee refactor render node name (#13146) 2022-10-26 11:16:42 +08:00
mmyduckx b595f636c4 update network.i (#13108) 2022-10-20 16:35:56 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +08:00
Yiwen a3fa4f6feb jsb ignore gfx::DefaultResource (#13087) 2022-10-19 15:00:20 +08:00