Commit Graph

149 Commits

Author SHA1 Message Date
徐兵 f6d686f7ce basecolor modify (#11186) 2022-05-23 21:49:40 +08:00
jk20012001 c4c95e9e59 add sky.effect with surface shader (#11156)
* add sky.effect with surface shader
surface shader code style

* get ready for chunks reorganizing

* Delete default_skybox_diffusion.png.meta

* add depth functions

* add meta
2022-05-23 15:15:17 +08:00
jk20012001 6cea6782d0 code style for surface shader (#11113) 2022-05-16 16:03:16 +08:00
jk20012001 d65fd4cc8c dcc effect rename (#11107)
* dcc effect rename

* rename

* rename
2022-05-16 12:41:24 +08:00
jk20012001 005cdf44d0 optimize anisotropy sample (#11075) 2022-05-14 10:50:10 +08:00
徐兵 6394dc083c update version (#11073) 2022-05-13 21:27:37 +08:00
jk20012001 0ecaa8db51 add surface shader (#11048)
* add surface shader

* remove unused item

* arrange main-functions

* arrange main-functions

* fix compatible lighting mode
2022-05-13 21:18:22 +08:00
徐兵 19a7ebc398 rename USE_TRANSPARENT_MAP (#11068) 2022-05-13 18:38:50 +08:00
徐兵 e72e70c91c dcc effect (#11057) 2022-05-13 12:43:27 +08:00
jk20012001 10e1be3c13 update shader migrated meta (#11038)
update compiled shader
2022-05-12 10:53:47 +08:00
Myway 60e44f7564 terrain and model automatic choose lightmap shader (#11006)
* terrain and model automatic choose lightmap shader

* fix eslint error
2022-05-12 01:43:32 +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
jk20012001 7dd624f8fe remove v_bitangent, optimize vs varying data size for performance issue with metal (#10797)
* remove v_bitangent, optimize vs varying data size for performance issue with metal

* update compiled shaders
2022-04-19 15:24:20 +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
jk20012001 e240164c97 increase max normalmap intensity value (#10774)
* increase max normalmap intensity value

* rename normalStrenth
2022-04-15 18:30:28 +08:00
jk20012001 c559cab440 Fix instancing performance issue with new chips on metal (#10765)
* Fix instancing performance issue with new chips on metal

* Fix shadow bias with Batching
Update compiled shaders
2022-04-14 17:02:55 +08:00
jk20012001 aebdeba97a Fix toggle environment lighting diffusemap failed (#10739)
* Fix toggle environment lighting diffusemap failed
Add CCGetShadowFactorSoft5X

* revert soft shadow shader code
2022-04-14 16:29:16 +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
Myway 459abdbd72 change lighting map unpack and luminance multiply (#10185) 2022-03-22 12:01:47 +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
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
Yun Hsiao Wu 21e4e2e0c8 update effects (#10145) 2022-02-22 16:19:15 +08:00
jk20012001 2549157630 Rearrange IA input variables and functions for surface shader (#10123)
* Rearrange IA input variables and functions for surface shader
Fix default_skybox.meta missing

* Update compiled shaders

* Fix code style
2022-02-17 17:16:00 +08:00
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
ChiaNing 8f87cbd483 useless UI_GPU code delete (#10048) 2022-01-25 19:14:41 +08:00
jk20012001 8780a311a2 Fix skybox stretch in ortho projection (#10045)
Fix default sphere model
2022-01-25 19:09:46 +08:00
santy-wang 995f5b2d41 Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5-merge 2022-01-24 15:56:49 +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
santy-wang 7ffe1bc031 Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-01-06 14:41:28 +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
jk20012001 c1146b813c Fix skeleton model receive shadow macro error and toon shadow display errors (#9836)
* 修复骨骼模型接受阴影的开关无效 及 toon shadow计算的错误

* toon精确判断背光面及强制所有面接受阴影

* toon使用参数来调节接受阴影的区域
2021-12-23 17:18:34 +08:00
santy-wang 2355247db0 Merge branch 'v3.4.1' of github.com:cocos-creator/engine into v3.5.0 2021-12-17 11:06:22 +08:00
pandamicro 8c2f07fb86 change default alpha blend params (#9784) (#9825)
Co-authored-by: zxx43 <zxx43@hotmail.com>
2021-12-16 13:41:21 +08:00
Zeqiang Li 249af30b54 fix crash on mtk chip (#9807) 2021-12-13 18:27:13 +08:00
pandamicro 487afb9c9f Upgrade internal asset meta (#9800) 2021-12-11 16:50:14 +08:00
zxx43 898140884d change default alpha blend params (#9784) 2021-12-08 21:37:15 +08:00
李吉林 f68fa14be3 add geometry renderer (#9776) 2021-12-07 18:13:30 +08:00
jk20012001 2cbc8a3ed5 Fix effect blend state syntax error (#9708)
* Fix effect blend state syntax error
Add isNan function

* code style
2021-11-23 14:28:02 +08:00
Yun Hsiao Wu 1763f2556e fix default property missing when property index is set (#9683) 2021-11-18 16:35:29 +08:00
jk20012001 dea29af42d unlit shader linear mode (#9671) 2021-11-16 18:44:01 +08:00
jk20012001 d3fe96f5cc Fix linear color in other effects (#9665)
* Fix linear color in other effects

* Update compiled shaders

* Fix name
2021-11-16 17:48:38 +08:00
GengineJS 1d0fadb6f4 Restore part of pipeline code (#9644) 2021-11-10 13:46:49 +08:00
jk20012001 5dcdb6319b Linearcolor (#9588)
* Fix #9633 color picker linear conversion in unlit shader

* Update compiled shaders

* Fix material: linear space input #9558 delete properties leads to black albedo in additive pass

* Update compiled shaders

* Revert format change

Co-authored-by: pandamicro <lphuabin@gmail.com>
2021-11-01 22:21:00 +08:00