Commit Graph

46 Commits

Author SHA1 Message Date
jk20012001 10e1be3c13 update shader migrated meta (#11038)
update compiled shader
2022-05-12 10:53:47 +08:00
hyde zhou 019d35b22e [V3.5.0 deferred pipeline] fix vulkan crash problem (#10809)
* disable post-process alpha blend

* effects updated

* effects updated

* vk fix added

* disable gles3 fbf

* fix typo

* format and add comments

* add TODO

* fix TODO
2022-04-20 18:26:48 +08:00
GengineJS 3cea8e7fb8 Fix CCLocal and CCForwardLight binding error of deferred pipeline (#10778)
* Fix CCLocal and CCForwardLight binding error of deferred pipeline

* post process stage enable blend

* Modify the way post process stage alpha blending

* restore postprocess
2022-04-19 11:45:33 +08:00
hyde zhou db0ee6f1c5 disable post-process alpha blend (#10658) 2022-04-06 11:22:52 +08:00
jk20012001 9f83fb1ae9 Add specular intensity for DCC effects (#10613)
* Add specular intensity for DCC effects
effect data migrates for include decode-base and specular intensity

* update compiled shaders
2022-03-31 18:25:03 +08:00
pandamicro 1446db89e7 Merge branch 'v3.4.2' into v3.5.0
# Conflicts:
#	cocos/2d/components/sprite.ts
#	cocos/2d/framework/ui-transform.ts
#	cocos/2d/renderer/render-uniform-buffer.ts
#	cocos/core/builtin/effects.ts
#	cocos/core/builtin/shader-sources/glsl1.ts
#	cocos/core/builtin/shader-sources/glsl3.ts
#	cocos/core/builtin/shader-sources/glsl4.ts
#	cocos/dragon-bones/ArmatureDisplay.ts
#	cocos/spine/skeleton.ts
#	editor/assets/chunks/cc-sprite-fs-gpu.chunk
#	editor/assets/chunks/cc-sprite-fs-gpu.chunk.meta
#	editor/assets/chunks/cc-sprite-vs-gpu.chunk
#	editor/assets/chunks/cc-sprite-vs-gpu.chunk.meta
#	editor/assets/default_skybox.meta
#	editor/assets/effects/builtin-sprite-gpu.effect.meta
2022-02-28 17:24:02 +08:00
Yun Hsiao Wu 21e4e2e0c8 update effects (#10145) 2022-02-22 16:19:15 +08:00
jk20012001 8780a311a2 Fix skybox stretch in ortho projection (#10045)
Fix default sphere model
2022-01-25 19:09:46 +08:00
pandamicro 46f90c85dc Merge branch 'v3.4.1' into v3.4.2 2022-01-21 15:00:15 +08:00
jk20012001 cb0ac4e916 Fix planar shadow z-fighting (#10026)
* Fix planar shadow z-fighting

* Fix planar shadow z-fighting
2022-01-20 23:22:34 +08:00
pandamicro 393bb3a3e7 Update metas (#10020) 2022-01-19 12:49:42 +08:00
troublemaker52025 7ca1e42f5c Fix no planar shadow on mac for v3.4.1 (#9953) 2022-01-11 17:39:08 +08:00
DolaMay c6cda96170 Position Delete & Normal Compress: 3.4.1 (#9939)
* Position Delete & Normal Compress

* delete some debug codes

* code review fix
2022-01-07 22:56:14 +08:00
jk20012001 48c5301132 Fix planar-shadow plane offset sign (#9946) 2022-01-07 13:17:33 +08:00
troublemaker52025 17e0e7ea7b Combing planar-shadow calculations for v3.4.1 (#9903)
* Combing planar-shadow calculations for v3.4.1

* update

* update
2022-01-05 23:26:23 +08:00
jk20012001 eb883997a1 Fix #10538: Android+WebGL PS struct variables has mediump precision (#9863)
* Fix #10538: Android+WebGL PS struct variables has mediump precision

* update compiled shaders

* review modification

* update compiled shaders
2021-12-24 11:01:54 +08:00
pandamicro 487afb9c9f Upgrade internal asset meta (#9800) 2021-12-11 16:50:14 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
Yun Hsiao Wu bf3b561403 render area affects viewport only (#9502) 2021-10-19 17:04:21 +08:00
Kun Lin 8127b6da9d Update bloom (#9465)
* Update bloom

* Remove bloom pass for UI camera
2021-10-14 10:29:37 +08:00
Yun Hsiao Wu abce086677 rename reserved names (#9450) 2021-10-08 17:32:07 +08:00
lawrence-liuyue 6b764d2e33 Enable Subpass in deferred pipeline (#9419)
* enable subpass in deferred pipeline

* subpass fix compile error in opengl

* build effects
2021-10-03 17:22:54 +08:00
DolaMay a785144943 cluster ts engine v340 code (#9405)
* cluster ts engine v340 code

* add macro to enable/disable cluster feature

* fix cluster switch bug
2021-09-30 10:16:53 +08:00
Kun Lin e2dd95f1b0 Update bloom shader (#9417) 2021-09-29 14:37:59 +08:00
Kun Lin 9b6bb5151e Bloom (#9413)
* Bloom

* Fix for code review
2021-09-29 11:44:25 +08:00
GengineJS b12a7ed18d forwardpipeline supports fxaa (#9387)
* forwardpipeline initially supports fxaa

* fxaa completes the adaptation

* update effect

* update postprocess stage

* add comment

* update

* Pipelines run the Postprocess stage

* effect added anti-aliasing judgment

* modify fxaa effect

* update comment

* update native
2021-09-28 11:17:02 +08:00
Yun Hsiao Wu 9d3c0a9eac workaround R11 vk shader driver bug (#9376) 2021-09-23 18:32:19 +08:00
Yun Hsiao Wu e2a16f44ad effect: subpass support (#9364) 2021-09-23 17:08:29 +08:00
santy-wang c87577b809 Merge branch 'v3.3.1' of https://gitlab.cocos.net/publics/engine into v3.4 2021-09-09 13:33:35 +08:00
ChiaNing 68c5a04416 fix mask graphics enable bug & update builtin res meta (#9301) 2021-09-08 16:30:21 +08:00
Yun Hsiao Wu 4cf1350fe0 gfx: swapchain refactor (#9030)
* update effect.hideInEditor

* swapchain refactor

* webgl multi draw

* implicit depth/stencil format

* native adapt

* explicit resizable texture

* DrawInfo in InputAssembler

* device cached states

* sync defines

* gfx: empty backend

* update playground

* remove profiler camera

* update effect types

* fix pass.resetUniform
2021-08-31 19:40:50 +08:00
jk20012001 db8560be08 Remove SpecularIntensity in StandardSurface struct (#9099)
* RGBE Use High Precision Decoder

* Remove SpecularIntensity in StandardSurface struct

* Fix Merge Conflict

* Remove SpecularIntensity in StandardSurface struct

* Remove SpecularIntensity in StandardSurface struct
2021-07-30 15:53:40 +08:00
cary ca61c1f479 Update deferred lighting effect. (#9037) 2021-07-23 14:24:09 +08:00
cary 3ba49cb35e Fix the render error of particle and spine on metal. (#8593)
* Fix the render error of particle and spine on metal.

* Move transparent render of deferred to lighting stage.
2021-04-29 18:52:15 +08:00
GengineJS 8b89c3fef2 [Feature] Rt adaptation (#8483)
* [Feature] Rt adaptation

* [Feature] Effect adds CC_HANDLE_GET_CLIP_FLIP function

* update effect

* update effects
2021-04-19 20:05:48 +08:00
Yun Hsiao Wu 24b1c6695d update CommandBuffer.draw (#8423)
* update CommandBuffer.draw

* effect: runtime constants
2021-04-12 09:41:35 +08:00
cary 8b4c2f7f5e Fix the material and resources of the deferred pipeline. (#8289) 2021-03-02 18:19:29 +08:00
Yun Hsiao Wu 6d5cf2112a unify forward/deferred material (#8267) 2021-02-22 15:56:30 +08:00
Yun Hsiao Wu bc030766fd gfx: pipeline barriers 2021-02-03 17:52:31 +08:00
黄森斌 bd21579385 update internal-db effect meta file (#8052) 2020-12-30 17:39:22 +08:00
troublemaker52025 6d72ccfcd9 remove shader unnecessary references (#7893) 2020-12-03 13:37:23 +08:00
troublemaker52025 adbf91270a fix planar shadow local ds layout (#7854) 2020-11-24 19:20:20 +08:00
Yun Hsiao Wu 8d2ef1fe51 fix skybox effect (#7740)
* fix skybox

* fix subMesh.iaInfo
2020-11-09 17:55:55 +08:00
Yun Hsiao Wu 2f951db5e2 skybox aspect ratio should take viewport into account (#7297) 2020-09-03 17:46:11 +08:00
Yun Hsiao Wu dfc3d141f2 GFX Descriptor Set (#7101)
* gfx: descriptor sets

* gfx: descriptor set, singular

* better structure

* adapt upper layers: first pass

finally all compiler errors cleared.

OKAY IT'S HAPPENING EVERYBODY STAY THE ****ING CALM

* adapt upper layers: second pass

THERE AND BACK AGAIN

* unified light pass & shadow shader

* gfx: descriptor set & pipeline layout

* light pass: better structure

* light pass: dynamic uniform

* even more type checking for memory pools

* Fix particleSystem and lineComponent.

* delete comment

* guard pool init param

* Fix trail module error.

* delete space

* light pass: instancing & batching support

* don't polyfill gfx stuff inside EffectAsset

* better light pass structure

* fix spot light culling

Co-authored-by: caryliu <caryliu1999@gmail.com>
2020-08-13 18:21:15 +08:00
SijieWang fbb6c52314 Move internal assets to the engine (#7093) 2020-08-06 22:09:24 +08:00