Commit Graph

125 Commits

Author SHA1 Message Date
troublemaker52025 129eb437ad fix(legacy): GPU Instancec memory leak in C++ (#211) 2026-07-21 10:56:43 +08:00
troublemaker52025 b6d0f02e88 fix(SRP): use lightIdx instead of loop index l in GPU instancing forw… (#198) 2026-07-20 09:52:57 +08:00
hyde zhou 65992d007d fix multi-light bugs (#17001) 2024-05-17 11:17:13 +08:00
hyde zhou aff1811ad0 V3.8.3 spotlight (#16780)
* add spot light angle attenuation strength

* rename
2024-03-08 12:00:23 +08:00
hyde zhou 8d7e3bf207 add spot light angle attenuation strength (#16776) 2024-03-08 11:13:04 +08:00
江战 175d8a4c7e change the return type of submodel.passes to shared_ptr (#15267) 2023-06-01 14:05:03 +08:00
李吉林 5ead7c61de delete batching (#14957)
* delete batching
2023-05-04 12:46:12 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
jk20012001 be9af44774 fix light type used in ubo and shader (#14891) 2023-04-23 17:34:13 +08:00
Zach Lee bf971a7260 fix dereferencing null pointers when passing through multiple submodels, where the preceding submodels do not include forwardadd+ pass. (#14840) 2023-04-19 21:52:53 +08:00
troublemaker52025 a7b090390e [Feature] add ranged directional light (#14306) 2023-02-23 17:58:47 +08:00
troublemaker52025 682f0a25cd [Feature] add point light (#14220) 2023-02-22 10:12:21 +08:00
troublemaker52025 48da4f06cf fix instanced queue rendering multiple times (#14072) 2023-02-01 10:37:43 +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 ecfb8be5bf fix editor crash when creating a new reflection probe (#13682) 2022-12-06 17:05:35 +08:00
troublemaker52025 4bb8dfd702 [Feature] add visibility for light component (#13131) 2022-10-26 15:26:56 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
Zach Lee 699fdfad90 Feat: Expires bufferView after resizing it's source buffer. (#12869) 2022-09-27 11:50:37 +08:00
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
troublemaker52025 158a0d7a04 [Bug] fix shadow truncation error with native-engine (#12698) 2022-09-07 10:15:50 +08:00
minggo e0bfd1d380 Merge branch 'v3.6.0' into merge_v3.6 2022-07-26 12:01:26 +08:00
troublemaker52025 b84a276944 [optimization] compress csm ubo (#12111) 2022-07-21 17:50:29 +08:00
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +08:00
Yiwen 31ec3c4c0c the computation of projection matrix should consider sign of Y (#11995) 2022-07-14 18:25:05 +08:00
troublemaker52025 e6b02eecec [bug] shadowMap using linear depth macro with webgl v3.6.0 (#11993) 2022-07-14 18:22:24 +08:00
troublemaker52025 913aec8227 reduce instanced queue recordCommandBuffer at render-additive-light-queue v3.6.0 (#11798) 2022-07-01 19:33:36 +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
minggo 3fd06707ab use smart pointer as possible (#11754) 2022-06-30 17:00:51 +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 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
minggo 226d81b6bd sync logic to native 2022-05-30 10:51:27 +08:00
minggo 77701a2d84 Merge branch 'v3.5.1' into v3.6.0-merge-v3.5.1 2022-05-27 15:23:33 +08:00
troublemaker52025 7558741239 fix light flashes at instanced model for v3.5.1 (#11203) 2022-05-24 17:35:53 +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
troublemaker52025 4bdfacf69f fix instanced model has not spot light shadow for v3.5.1 (#10921)
* fix instanced model has not spot light shadow for v3.5.1

* fix CI error

* fix ci error 2

* fix ci error 3

* fix ci error

* use auto
2022-05-10 19:38:39 +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 1a9d49e4c6 replace std::list/std::array with ccstd::list/ccstd::array (#10560)
* replace std::list/std::array with ccstd::list/ccstd::array
2022-03-29 16:36:53 +08:00
Cocos Robot 24d84664f8 [ci skip][AUTO]: Automated clang-format update: 3de15842004cba2142ec0fecd82876d8f6a28236 (#10402) (#10424)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-21 16:04:49 +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
troublemaker52025 e723e5aa3a Add renderMesh bias for v3.5.0 (#10102)
* Add renderMesh bias for v3.5.0

* fix ci error

* change function name

* fix merge error

* update

* update 2

* update

* update

* update 2
2022-02-24 23:27:09 +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
bofeng-song 7e2fce85f9 sychronize engine to native (#10099)
* sychronize engine to native according to  https://github.com/cocos-creator/engine/pull/10041
2022-02-15 10:09:53 +08:00
mmyduckx e52bb2bf06 add forward declaration for pipeline (#10082) 2022-02-14 09:31:00 +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