Commit Graph

132 Commits

Author SHA1 Message Date
江战 b2bb2bf559 jsb classes apply decorator from .ts source files (#14403)
* decorator parser
* remove used variable
2023-03-07 10:34:50 +08:00
Yiwen 633f738b07 Math tune (#14419)
* fix math lib & add unit test
2023-03-02 14:34: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
徐兵 5e9192d87b fix effect compile error and plane reflection rendering error (#14251) 2023-02-21 11:10:46 +08:00
pandamicro 1614185c12 Merge pull request #14321 from cocos/v3.7.1
Merge V3.7.1
2023-02-21 11:09:17 +08:00
mikecoker defc505b85 Update web-pipeline.ts (#14318)
fix bloom wrapping mode
2023-02-21 10:35:52 +08:00
troublemaker52025 03891fe9d8 fix usm shadow and remove if uniform for performance (#14248) 2023-02-15 18:53:30 +08:00
hyde zhou 3ae4b8c928 fix metal crash problem (#14186)
* deferred custom pipeline running cyberpunk on metal (#92)

* Fix the problem that csm shadowmap does not render the picture (#94)

* remove manual descriptor registration

* fix redundant barrier generated:layout dependency but not access dependency (#93)

* fix redundant barrier generated:layout dependency but not access dependency

* missing part

* Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2"

This reverts commit 3a95b55991b1eed21df8b927213dd78aaa585892, reversing
changes made to be8d52a74b1e8a27599767cdf2b1639c8ecbf11c.

* fix missing descriptor sets

* buffer size (#96)

* Revert "Revert "Merge branch 'v3.7.1-cyberpunk2' of https://github.com/star-e/cocos-engine into v3.7.1-cyberpunk2""

This reverts commit 690e121936cae6bce4194d0f67a69636117268b3.

* fix assert

* fgd pass culling logic fix (#97)

* buffer size

* fgd pass culling logic fix

* old unit test

* fix batcher2d

* fix dereference freed pointer

* Bloom pipeline adds ui and deferred pipeline to fix ui rendering problems (#98)

* add native ui rendering

* add skinning constants

* Fix the problem that the deferred pipeline does not render transparent objects and shadows (#99)

* Fix the problem that the profiler does not render (#100)

* fix typo

* update ds logic (#101)

* metal coord (#102)

* refactor profiler

* fix shadow caster bug

* remove unnecessary validation

* disabled over-aligned memory allocation

* add native version

* Optimize the display mode of profiler (#103)

* remove profiler later, generator is not changed yet

* refactoring persistent render pass and framebuffer

* refactored persistent render pass and framebuffer

* format

* revert change

* fix invalid framebuffer bugs

* refactored custom pipeline initialization

* add pipeline statistics

* depth stencil state & attachment validate (#104)

* Revert "depth stencil state & attachment validate (#104)"

This reverts commit c75de8d83295ca387d7f4a7206f411e94ac0a884.

* add default phase comparison

* Revert "add default phase comparison"

This reverts commit 4910790081e961e258db269ceb2542e6ebd13062.

* try fix uniform buffer upload

* generator updated

* lint

* buffer upload command (#105)

* fix lint

---------

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-14 21:21:33 +08:00
徐兵 8409d06bca reflection probe support box projection (#14200) 2023-02-14 18:37:57 +08:00
jk20012001 86b86ca873 rearrange effects folder (#14202)
* rearrange effects folder

* fix
2023-02-14 10:10:17 +08:00
Zhou Zhenglong 2b54f20d0a Merge branch 'v3.7.1' into v3.7.2-merge 2023-02-13 00:47:24 +08:00
hyde zhou 7e9a01f5e2 refactored web profiler and native framebuffer (#14168) 2023-02-08 15:49:06 +08:00
hyde zhou 588a64e277 fix web-pipeline ui in post-processing (#14145) 2023-02-07 16:50:24 +08:00
jk20012001 4d9d2214b3 fix debug view uniform format do not match (#14146) 2023-02-06 10:06:28 +08:00
徐兵 878b7db4a5 optimize reflection probe (#14115) 2023-02-03 15:43:04 +08:00
hyde zhou 5abd56ac2f remove manual descriptor registration (#14136)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-03 15:17:32 +08:00
hyde zhou bfe9c44fdd fix web csm, barrier generation, metal buffer/descriptor upload (#14125)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-03 10:50:53 +08:00
jk20012001 7c5b89deb2 add new debug view options and runtime controll (#14083) 2023-02-02 15:09:20 +08:00
hyde zhou 97b1c40941 [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 18:04:12 +08:00
hyde zhou 52bccdf738 [pipeline] refactor custom pipeline init (#14040) 2023-02-01 18:00:52 +08:00
hyde zhou 8c612a3bbb [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 17:46:34 +08:00
troublemaker52025 48da4f06cf fix instanced queue rendering multiple times (#14072) 2023-02-01 10:37:43 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
pandamicro 0a8dc371b2 Merge branch 'v3.7.0' into v3.7.1 2023-01-10 14:58:57 +08:00
jk20012001 42e4a14f82 debug view support with native engine (#13996) 2023-01-09 10:18:21 +08:00
hyde zhou e11bdf5775 [pipeline] update custom pipeline (#14002) 2023-01-07 12:30:44 +08:00
江战 c929b75692 Fix array proxy object convertion (#14005) 2023-01-05 19:25:33 +08:00
troublemaker52025 fd3e84c239 fix shadow performance (drawcall) (#14000) 2023-01-05 10:19:37 +08:00
hyde zhou 73d8004725 [pipeline] update custom pipeline (#13890) 2022-12-30 18:22:22 +08:00
徐兵 1d226aea71 add lod culling for reflection probe (#13955) 2022-12-29 16:32:17 +08:00
minggo 6f308289b9 fix compiling error (#13930)
* fix compiling error
2022-12-28 14:19:32 +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
hyde zhou df9b49b539 [pipeline] update custom pipeline (#13744) 2022-12-22 19:09:48 +08:00
bofeng-song 834657ca79 refine: cache lodGroup's state and reduce api call of getVisibleLODLevel (#13800)
* refine: cache lodGroup's state and reduce api call of getVisibleLODLevel
2022-12-21 14:33:09 +08:00
jk20012001 3ade8cc160 fix debug view ignores camera with preview usage (#13860) 2022-12-20 18:59:53 +08:00
徐兵 bbd7c7589f Fix the preview spherel display error (#13844) 2022-12-19 14:36:27 +08:00
江战 ba7e90475c pipeline js bindings (#13786) 2022-12-15 09:51:04 +08:00
bofeng-song 282e72d409 fix wrong import file (#13815) 2022-12-14 15:57:22 +08:00
徐兵 c06d6dc657 fix error caused by create terrain model and not use 3d base modules (#13795) 2022-12-13 18:02:21 +08:00
hyde zhou aa7c8940ba [pipeline] refactor program-lib.ts, pass.ts (#13610) 2022-12-08 16:33:57 +08:00
徐兵 3dc654cbcd move reflection-probe to 3d module (#13711)
* add validate

* fix switch probe error

* export  reflectionProbe

* remove export reflectionProbeManager

* export
2022-12-08 16:31:46 +08:00
徐兵 6d9c0c8f93 add planar reflection culling and refresh models after delete probe (#13671) 2022-12-07 15:12:20 +08:00
troublemaker52025 77aa1ba748 optmization framebuffer clear (#13690) 2022-12-07 11:45:39 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
pandamicro 313a1032b7 Separate present time from renderer time in profiler (#13684) 2022-12-06 18:24:02 +08:00
Knox a3d924e5e5 Repair the problem of non-standardized property settings (#13667)
* refine code, add default values and update types
2022-12-06 11:17:22 +08:00
jk20012001 91a5d8d45d fix camera clear flag warning (#13648) 2022-12-05 23:10:10 +08:00
徐兵 1305534329 optimize probe refresh in editor mode (#13620) 2022-12-05 18:35:16 +08:00
李吉林 f2d3411c71 fix visibility of profiler in editor (#13654) 2022-12-05 15:42:50 +08:00