Commit Graph

26 Commits

Author SHA1 Message Date
徐兵 e704d5e9c9 remove USE_REFLECTION_CUBEMAP (#12215) 2022-07-27 17:56:32 +08:00
徐兵 2e69f679d3 reflection convolutional map baking speed optimization (#12112) 2022-07-21 19:20:42 +08:00
徐兵 a2aecfe243 [bug] fix macro of material is invalid and set value of HDR for PipelineSceneData with native engine (#12074) 2022-07-20 10:47:33 +08:00
jk20012001 d2ea1877b0 optimize shader compiling and fix soft5x (#11869)
* optimize shader compiling

* fix compile error

* optimize native 5x
2022-07-12 10:03:50 +08:00
Santy-Wang 7bc135e1c7 adjust initialization process (#11143)
* adjust init process

* fix bugs

* restructure

* tweak

* delete useless code

* fix ci

* support more platform and fix some bugs

* mark internal

* tweak

* add docs

* add docs and little adjustment

* fix bugs

* adjust decorator execute order

fix mesh error

* fix bugs

* revert some change

* revert auto-generated code

* revert auto-generated code
2022-07-03 21:16:09 +08:00
徐兵 06be9a4164 fix the invalid switch hdr and ldr (#11719) 2022-06-29 16:48:14 +08:00
minggo 8e00de14da use member variable for material (#11520) 2022-06-15 15:57:18 +08:00
徐兵 5e8f4a2e58 convolution map (#11322)
* upload mipmap from atlas

* add macro "USE_CONVOLUTION_MAP" and editable skybox material for native engine

* code format

* rename "USE_CONVOLUTION_MAP" and  enum MipmapBakeMode, delete the mipmapMode property

* rename struct

* rename useOfflineMipmaps function

* rename function and fix macro 'CC_USE_IBL'  'CC_USE_DIFFUSEMAP'  'CC_USE_HDR' not working

* fix compile errors

* add documentation

* update documentation

* USE_RGBE_CUBEMAP macro changed to global
2022-06-08 12:10:06 +08:00
James Chen 024737aebc fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant (#11197)
* Move Any.h/Optional.h/Variant.h to base/std and rename them to lowercase.

* fixed #11195: Rename cc::optional, cc::any, cc::variant to ccstd::optional, ccstd::any, ccstd::variant

* Format code.
2022-05-24 18:47:16 +08:00
mmyduckx 204543cfd8 fix restart buffer & shader leak and add prompts (#11164)
* fix restart buffer & shader lead and add prompts
2022-05-20 16:10:40 +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
李吉林 3457292707 refactor exit process (#10880)
* refactor exit process

* add override

* fix geometry-renderer missing in deferred pipeline

* invoke destroy directly

* fix ESLint error

* add -misc-static-assert for clang-tidy
2022-04-27 14:59:23 +08:00
minggo f2eb3c795c sync ts logic to c++ after merging v3.5 to v3.6 (#10881) 2022-04-27 11:07:35 +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
Cocos Robot a2df4e4dbd [ci skip][AUTO]: Automated clang-format update: 771de57fc2c1edbaaf3ae94e77f9801b0379cc6c (#10469) (#10472)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-03-24 13:50:39 +08:00
minggo 7f4cb9e3b1 Remove string (#10469)
* replace std::string with ccstd::string
2022-03-24 11:53:10 +08:00
bofeng-song 5771fecc66 fix wrong logic (#10460) 2022-03-23 16:36:54 +08:00
hyde zhou 573a1f0d7a [v3.6.0 pipeline] refactor native root.h (#10356)
* decouple native RenderPipeline
2022-03-16 16:56:18 +08:00
李吉林 d793157a71 add dynamic mesh (#10291)
* add dynamic mesh

* Mesh init refactor

* fix geometry renderer bug

* dynamic mesh review update

* MeshUtils refactor

* do not export createDynamicMesh
2022-03-16 16:55:49 +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
mmyduckx e332c02ca0 add forward declaration for 3d/scene-graph/scene (#4246)
* add forward declaration for 3d/scene-graph/scene

* fix genbindings error

* define ctor in cpp
2022-02-09 15:41:00 +08:00
徐兵 5f5a66a6f0 skybox optimization (#4234)
* skybox optimization
Co-authored-by: xubingbing <bingbing.xu@cocos.com>
2022-02-08 15:27:07 +08:00
bofeng-song b2a4c896f6 fix todo (#4213)
* fix todo
* remove unneed remark
* ENABLE_ANTIALIAS_FXAA  defined from cfg.cmake(Macro Value set  from editor)
2022-01-26 14:18:46 +08:00
minggo 3c871193d7 Fix crash when exit (#4207)
* destroy BuiltinResMgr when exit app

* fix memory leak of DescriptorSet

* fix GFXBuffer memory leak

* fix crash when close app
2022-01-24 10:30:05 +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