Commit Graph

53 Commits

Author SHA1 Message Date
minggo 313c58fe33 Improve utils api doc (#13922) 2022-12-28 15:04:56 +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
troublemaker52025 4bb8dfd702 [Feature] add visibility for light component (#13131) 2022-10-26 15:26:56 +08:00
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
jk20012001 3d91d97527 [bug] retrieve getShadowPassIndex from submodel (#12057) 2022-07-19 14:49:39 +08:00
James Chen cb4b0014ed Fix crash if closing app in surface shader test case. (#11896) 2022-07-08 19:19:35 +08:00
troublemaker52025 21b6f7bdd7 Fix spot shadow and punctual light errors (#11758)
* reduce Instanced-queue commit v3.6.0

* fix spot light culling error

* fix spot light shadow culling error && fix instanced and batched queue use dnymicOffset error && optimize spot light no cast shadow will error

* update

* update 2

* update 3

* update 4

* update 5

* use lightPassPool

* native engine use AdditiveLightPass

* delete spot light `hasCastShadowObjects` func

* update
2022-06-30 14:36:31 +08:00
hyde zhou cedc01c575 use uint32_t instead of uint (#11598)
* use uint32_t instead of uint
2022-06-18 18:47:45 +08:00
troublemaker52025 387b994f91 Add CSM for v3.6.0 (#11120)
* Add CSM for v3.6.0

* fix CI error

* fix Ci error 2

* Limit soft shadow sampling range

* update

* add soft 5x PCF

* add warn ID

* sync CSM to native engine

* fix CI error

* add Performance Mode

* fix ci error

* fix ci error 2

* fix ci error 3

* add precisely tailored

* use CC_SHADOWMAP_FORMAT

* update

* Modify default parameters

* sync to native engine

* revert config file

* fix  ci error

* modify pr problem

* fix CI error

* fix ci error

* sync to js engine

* fix ci error

* fix cc_shadowMap not binding

* fix vulkan shadow effect error

* build effect

* fix ci error

* modify review

* fix ci error

* fix ci error 2

* delete unused interfaces

* fix ci error

* update

* update 2

* fix ci error

* delete csmDebugMode

* build effect

* use csmLeve to shadowCascadeLevel

* update
2022-06-07 14:30:49 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
troublemaker52025 0dc1e9da19 Spotlight interface description change for v3.5.1 (#10964)
* Spot light interface description change for v3.5.1

* fix CI error
2022-05-11 12:00:16 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo 444bfe31c4 Refactor CC_NEW/CC_DELETE (#10810)
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
troublemaker52025 76af77d9b8 fix shadow merge error for v3.6.0 (#10073)
* fix shadow merge error for v3.6.0

* update

* fix ci error

* fix ci error 2

* fix ci error

* fix ci error 3
2022-02-16 12:12:45 +08:00
mmyduckx e52bb2bf06 add forward declaration for pipeline (#10082) 2022-02-14 09:31:00 +08:00
minggo 7f24f34b22 Merge branch 'v3.5.0' into v3.6_merge_v3.5.0 2022-01-25 19:52:06 +08:00
Yun Hsiao Wu 14a17c9d22 license upgrade (#4210) 2022-01-24 17:18:47 +08:00
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00
minggo c0bdd3c0d8 Merge branch 'v3.4.1' into merge_v3.4.1
Conflicts:
	cocos/bindings/event/EventDispatcher.cpp
	cocos/platform/android/jni/JniCocosActivity.cpp
	cocos/platform/apple/JsbBridge.mm
	cocos/platform/java/jni/JniCocosOrientationHelper.cpp
	cocos/platform/win32/CanvasRenderingContext2D-win32.cpp
2022-01-07 18:36:14 +08:00
troublemaker52025 c418fa8893 fix shadow queue performance for v3.4.1 (#4119)
* fix shadow queue performance for v3.4.1
2021-12-24 14:38:36 +08:00
troublemaker52025 858699cb4b Revert globalDescriptorSet has not binding for v3.4.0 (#4068)
* Revert globalDescriptorSet has not binding for v3.4.0
2021-11-25 17:21:05 +08:00
troublemaker52025 7bf2fc0fba merge valid punctual light culling for v3.4.0 (#4048)
* merge valid punctual light culling for v3.4.0
2021-11-18 11:18:02 +08:00
troublemaker52025 666b8cb0c0 fix multi-light source rendering translucent material for v3.4.0 (#3910)
* fix merge error

* update

* update ds to globalDS

* safe destroy

* fix ci error

* fix ci error
2021-09-28 18:00:17 +08:00
troublemaker52025 b419fa958c Culling performance optimization for v3.4.0 (#3909)
* matShadowViewInv is matShadowTrans
2021-09-23 18:00:26 +08:00
troublemaker52025 46976eff2d Shadow culling for v3.3.1 (#3810) 2021-09-02 19:34:51 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
cary 333c5fd17e Fix crash of shadow stage on native. (#3461) 2021-04-25 11:52:28 +08:00
troublemaker52025 68a100f035 fix shadowMap merged error (#3444) 2021-04-22 09:54:22 +08:00
troublemaker52025 97ea27b812 Add Linear depth for nativeEngine in v3.1 (#3404)
* fix native-engine for linearDepth
2021-04-19 14:55:45 +08:00
cary 59f9881e58 Optimize the performance of the memory pool. (#3414) 2021-04-19 09:37:47 +08:00
Yun Hsiao Wu ea88ba33c6 codebase structure update (#3289)
* structure

* fix jsb auto binding license issue
2021-03-01 12:00:10 +08:00
Yun Hsiao Wu defdc8d5b0 Merge branch 'v3.1' of https://github.com/cocos-creator/engine-native into device-proof 2021-02-07 10:33:25 +08:00
Yun Hsiao Wu d0fb6d5281 fix format 2021-02-05 16:41:01 +08:00
minggo 18d3aa40a7 fix merge error 2021-02-05 16:28:35 +08:00
Yun Hsiao Wu e0fdfef054 license upgrader 2021-02-05 14:08:22 +08:00
minggo 28d170cd9e merge 3.0 2021-02-05 10:50:55 +08:00
Yun Hsiao Wu 1c1406eab6 vk: more synchronization fixes (#3263) 2021-01-28 16:38:18 +08:00
cary 4c0f767d2b Extracts the shared content of the pipeline. (#3244)
* Extracts the shared content of the pipeline.

* remove ubo in forward
2021-01-23 09:35:23 +08:00
minggo a728537098 add license (#3165) 2020-12-29 11:25:30 +08:00
minggo affec13856 revert PR3076 (#3118) 2020-12-16 09:35:58 +08:00
troublemaker52025 e4454cb32e fix metal shadow upside down (#3076) 2020-12-12 18:19:38 +08:00
troublemaker52025 d50792878e fix shadow incomplete display (#3068) 2020-11-24 21:16:41 +08:00
troublemaker52025 4cb66eac97 Refactoring shadow ubo submit for c++ (#3049) 2020-11-20 09:34:06 +08:00
coulsonwang 3956223365 fix pipeline define (#3045) 2020-11-19 09:11:37 +08:00
troublemaker52025 b2a6c86865 fix instance model no shadow, and Sync to C++ (#3036) 2020-11-18 09:52:15 +08:00
troublemaker52025 bffaf3f395 Add spot light shadow for C++ (#2978) 2020-11-11 10:15:54 +08:00
coulsonwang 8faa1aa90f reduce getPhaseID jsb call (#2995) 2020-11-09 16:23:04 +08:00
troublemaker52025 60245af9bd shadow sync to c++ (#2942) 2020-10-30 16:18:36 +08:00
coulsonwang af75495a0f fix shadowMap batched queue (#2937) 2020-10-22 11:31:56 +08:00
coulsonwang b504111fee sync native pipeline (#2868) 2020-10-12 15:55:02 +08:00