Commit Graph

65 Commits

Author SHA1 Message Date
李吉林 5ead7c61de delete batching (#14957)
* delete batching
2023-05-04 12:46:12 +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 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
minggo d40b8739bc Merge branch 'v3.6.0' into develop_merge_v3.6 2022-07-18 10:38:14 +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
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 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 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
Cocos Robot df50878b14 [ci skip][AUTO]: Automated clang-format update: 735860a2aa285979c890bad6356b14afeff13db5 (#10560) (#10570)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-29 16:40:20 +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
minggo e58dccebbd remove CoreStd.h (#10541)
* remove CoreStd.h
2022-03-28 18:35:01 +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
minggo 01c9276650 do not inherit from Object (#10282)
* do not inherit from Object
2022-03-11 18:55:59 +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
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
李吉林 bed27fcccf V3.4.0 occlusion query2 (#3975)
* occlusion query
Co-authored-by: lijilin <jilin.li@cocos.com>
2021-10-13 18:21:03 +08:00
minggo 43c288196e Merge v3.1.2 (#3691)
* add jsb binding for v3.1.2 (#3611)

* update (#3615)

* optimize cleanTracks method (#3620)

* Fix setMaterial memory leak (#3622)

* fix RenderAdditiveLightQueue memory leaks for v3.1.2 (#3616)

* fix shadows GFXBuffer memory leaks for v3.1.2 (#3630)

* [ci skip][AUTO]: updating jsbinding automatically: dea52c7b (#3633)

Co-authored-by: cocos-robot <engine-deploy@cocos.com>

* fix erase shared body (#3635)

* Native PCF change sync to native-engine for v3.1.2 (#3652)

* support getAABB and getBoundingShpere (#3563) (#3671)

* fix compiling error

Co-authored-by: troublemaker52025 <troublemaker52025@outlook.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: wangyuzhi233 <78699242+wangyuzhi233@users.noreply.github.com>
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
Co-authored-by: jiaxin.lai <goodlaijiaxin@qq.com>
2021-07-13 09:43:25 +08:00
minggo 13d3274136 fix conflict 2021-06-11 16:01:34 +08:00
minggo 30db2bcbda merge v3.12 into v 3.3 2021-06-10 17:33:22 +08:00
troublemaker52025 b864e70d9d Add global descriptor set manager for v3.1.2 (#3606) 2021-06-10 09:49:16 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
cary e9178d5f5f Fix instance count error. (#3455) 2021-04-23 09:35:03 +08:00
troublemaker52025 f62a4e16ae fix lightingQueue memory leak for v3.1 (#3413)
* fix lightingQueue memory leak for v3.1

* fix ci error
2021-04-16 14:45:31 +08:00
mmyduckx 5ef2ab11bf Fix more warings (#3396) 2021-04-15 09:40:29 +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
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
lawrence-liuyue 5fc7a37cd1 Hw deferred pipeline (#3179) 2021-02-02 22:16:53 +08:00
troublemaker52025 dfc1731177 fix-light-index-bug (#3245) 2021-01-23 09:36:46 +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
cary cc6aea86fd Modify the forward rendering process and remove UIFlow. (#3117) 2020-12-24 16:09:06 +08:00
troublemaker52025 4cb66eac97 Refactoring shadow ubo submit for c++ (#3049) 2020-11-20 09:34:06 +08:00
troublemaker52025 afd6b985a5 Fix GFXSampler no binding warning (#3024) 2020-11-12 17:04:41 +08:00