troublemaker52025
03891fe9d8
fix usm shadow and remove if uniform for performance ( #14248 )
2023-02-15 18:53:30 +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
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
troublemaker52025
050f9bdb16
add shadow layer transition for csm ( #13144 )
2022-11-22 18:34:08 +08:00
minggo
fa8d498eb0
Merge branch 'v3.6.1' into merge_v3.6.1
2022-08-18 13:32:34 +08:00
troublemaker52025
ac8b1f6527
[optimization] Use define to replace uniform ( #12368 )
2022-08-16 16:06:56 +08:00
minggo
407438fa81
Merge branch 'v3.6.1' into merge_v3.6.1
2022-08-16 15:09:36 +08:00
Yiwen
8b4d8ebc45
Fix pipeline dangling ptr ( #12369 )
...
* fix the dangling ptr problem in pipeline. Dont rely on the destroy order of jsb, it's not stable and any assumption on destruction order will introduce potential error.
2022-08-16 13:47:42 +08:00
Yiwen
e40b92972e
fix the bug that game will crash on exit when using deferred pipeline ( #12216 )
2022-07-28 10:52:02 +08:00
troublemaker52025
b84a276944
[optimization] compress csm ubo ( #12111 )
2022-07-21 17:50:29 +08:00
troublemaker52025
d5f77d0af1
[optimization] Split csm ubo v3.6.0 ( #12072 )
...
* split csm ubo v3.6.0
* update
* Modify *.meta file to ignore material upgrade
* update
* update
* update 2
* use better struct padding and save memory
* update mate
* fix ci error
* memory alignment
* update
* update 2
* chenge func name
* update
2022-07-20 22:58:25 +08:00
troublemaker52025
e6b02eecec
[bug] shadowMap using linear depth macro with webgl v3.6.0 ( #11993 )
2022-07-14 18:22:24 +08:00
Yiwen
778ad062bc
add a method to reset the global descriptor's shadow map ( #11881 )
...
* add a method to reset the global descriptor's shadow map
2022-07-08 10:10:08 +08:00
minggo
699c6c58d2
some refactor ( #11810 )
...
- put related codes together
- use more meaningful variable names
- do not use temple vector as possible
2022-07-01 19:00:06 +08:00
jk20012001
402cf1602a
code style: rename spotlightingmap->spotshadowmap ( #11800 )
2022-07-01 16:17:52 +08:00
troublemaker52025
98b1eea826
[v3.6.0] fix switch scenes clash ( #11778 )
...
* fix switch scenes clash for v3.6.0
* update
* update
* fix ci error
2022-06-30 23:38:12 +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
minggo
9ff2e6c692
fix crash ( #11737 )
...
* fix crash
2022-06-29 14:31:11 +08:00
minggo
98d58f69a0
memory usage check ( #11716 )
...
* memory usage check
2022-06-28 14:31:13 +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
252c392ada
Solved the problem of switching scene shadows to disappear v3.6.0 ( #11531 )
...
* Solved the problem of switching scene shadows to disappear v3.6.0
* update
* fix memory leak
* fix ci error
* fix instanced queue error
* merge zhou zhenglong issue and fix it
* fix ci error
* update
* fix ci error
* use IntrusivePtr
* update
* update
* update
2022-06-18 14:27:16 +08:00
troublemaker52025
a9a68e50ae
[v3.6.0] CSM panel modification ( #11397 )
...
* [v3.6.0] CSM panel modification
* update
* fix ci error
* fix ci error
* fix ci error
* build effect
* change namespace to '_csmXxxx' && '_xxxCSM'
* modification reply
* update
* update
* update
* fix ci error
* fix ci error
* fix ci error 2
* fix ci error 2
* fix ci error 3
* fix ci error 4
* fix ci error 5
2022-06-10 14:08:10 +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
James Chen
8f8924c3f4
fixed #10929 : Hash computation in native engine causes loss of precision, use 32 bits hash for all platforms ( #11179 )
...
* fixed #10929 : Hash computation in native engine causes loss of precision. Force use 32 bits hash for all platforms.
* More uint64_t -> ccstd:hash_t
* Some uint64_t -> uint32_t in SkeletalAnimationUtils.h/.cpp
* operator() return ccstd::hash_t now and add some comments.
* size_t -> ccstd::hash_t in StringPool.h, Font.h/.cpp
2022-05-25 13:54:57 +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
minggo
ccc84b06b6
replace std::unordered_map with ccstd::unordered_map ( #10459 )
...
* replace std::unordered_map with ccstd::unordered_map
2022-03-23 16:44:06 +08:00
minggo
34bf14269c
unify stl ( #10402 )
...
* add ccstd::vector
* replace cc::vector with ccstd::vector
* replace std::vector with ccstd::vector
* do not include <vector>
2022-03-21 15:55:02 +08:00
Cocos Robot
71288fcf7a
[ci skip][AUTO]: Automated clang-format update: aed8a54418a115b3e3ec8c3d69be3498817a0043 ( #10387 ) ( #10412 )
...
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2022-03-21 13:47:58 +08:00
李吉林
8b611affa2
V3.6.0 font debug profiler ( #10387 )
...
* add Font&DebugRender&Profiler
* add profiler for metal
* fix profiler review problem
2022-03-21 11:41:54 +08:00
Yun Hsiao Wu
40b80138e0
Merge remote-tracking branch 'origin/v3.6.0' into v3.6.0
2022-02-16 16:14:32 +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
Yun Hsiao Wu
efbb7c880b
resolve conflicts
2022-02-16 10:47:38 +08:00
mmyduckx
e52bb2bf06
add forward declaration for pipeline ( #10082 )
2022-02-14 09:31:00 +08:00
minggo
0567b413c0
fix compiling error
2022-02-09 11:11:10 +08:00
minggo
e1822484de
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-02-08 17:48:25 +08:00
minggo
7f24f34b22
Merge branch 'v3.5.0' into v3.6_merge_v3.5.0
2022-01-25 19:52:06 +08:00
Yiwen
8e81f9cfdb
add a new interface to query format feature info ( #4169 )
...
* create a seperated branch to solve the Issue 8203
* Add format feature for query
* fix bugs and add formatFeature info for metal backend.
* 1. fix some bugs; 2. correct some condition judgements; 3. remove some uncessary comments;
* fix a bug of textureExclusive, fix some typos.
* clean the code, correct some formatFeatures.
* fix bugs in metal backend, fix bugs found on windows.
* Use a proper log funciton in DeviceValidator. Fix code format.
* fix perfect-forwarding in CondVar interface
2022-01-25 19:02:33 +08:00
minggo
f08555248f
fix conflict
2022-01-24 17:23:03 +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
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
Yun Hsiao Wu
a297dea9b6
fix cluster demo on vk
2021-11-11 15:56:43 +08:00
troublemaker52025
e6b4ba89fb
Using float texture function for v3.4.0 ( #4002 )
2021-10-22 15:37:28 +08:00
Yun Hsiao Wu
dbcb157efb
misc gfx fixes ( #3991 )
...
* better hashing strat
* gfx: unify states hash
* vk: upload texture in multiple chunks if needed
* gfx: states lifecycle management
2021-10-19 14:14:46 +08:00
Yun Hsiao Wu
8f8569f39e
gfx: better hashing strategies ( #3969 )
2021-10-13 16:03:58 +08:00
troublemaker52025
a9d6d73425
fix close window crash for v3.4.0 ( #3954 )
2021-10-08 15:45:06 +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
minggo
e14fd73506
fix compling error and review
2021-09-24 14:09:30 +08:00
minggo
ea980f509c
merge v3.3.2
2021-09-24 12:38:10 +08:00