Commit Graph

468 Commits

Author SHA1 Message Date
袁炜海 d36133c2cf [Optimize] drop inspector (#10304)
* feat: drop config

* feat: add uuid to args

* feat: delete console

* feat: 容错判断
2022-03-11 15:16:55 +08:00
minggo 73c303f556 Merge branch 'v3.5.0' into merge_v3.5.0 2022-03-08 14:53:00 +08:00
santy-wang 10349e567d Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-03-08 10:21:39 +08:00
troublemaker52025 273fa0162e Change planar shadow func name v3.5.0 (#10174)
* change planarShadow func name for v3.5.0

* update

* Modify semantics

* delete @range slide
2022-03-03 17:53:00 +08:00
黄森斌 4f05432c23 Displayorder is removed from the edit template and is taken over completely by the decorator (#10165) 2022-03-02 21:14:37 +08:00
jk20012001 e6f156c841 fix unnecessary include for surface shader (#10220) 2022-03-01 18:21:32 +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
pandamicro 574976bfa1 Update internal assets and meta (#10203) 2022-02-28 16:53:23 +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
黄森斌 f4291fd035 Properties default to display positions in the order in which they are defined (#10155) 2022-02-22 21:27:32 +08:00
troublemaker52025 bdd36a59da update chunk.mate for v3.5.0 (#10148) 2022-02-22 18:01:25 +08:00
Yun Hsiao Wu 21e4e2e0c8 update effects (#10145) 2022-02-22 16:19:15 +08:00
黄森斌 4a9476d3d6 user custom component which extends ccClass to show group style (#10119)
* 初步完成 ccClass 自定义的编辑模板也能显示 group

* 完成测试
2022-02-18 21:06:28 +08:00
pandamicro 50a43e18e4 Shared vb accessor for spine (#10077)
* Robust updateOpacity in batcher & cleanup code

* Support Batcher2D commitIA

* Support customized buffer size for StaticVBAccessor

* Reorganize RenderData logic and prepare spine refactor

* spine realTimeTraverse using dedicated accessor

* Support spine clipping

* Fix updateOpacity in batcher 2d

* Support Spine cache mode

* Fix ci

* Use different accessor for tint spine

* Update effect

* Fix native spine and dagonbones IA range issue

* Fix spine tint accessor registartion

* Revert darkColor default value

* Fix spine accessor switching issue and render data init issue

* Shared vb accessor for dragonbones (#44)

* Shared vb accessor for dragonbones

* fix code style

* add explanation why need resize render data in realTimeTraverse

Co-authored-by: zhakesi <liqiao@cocos.com>
2022-02-18 15:24:59 +08:00
jk20012001 40eb6b20fc Fix default scene camera clear flags is solid not skybox (#10132) 2022-02-18 15:22:45 +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 efbb7c880b resolve conflicts 2022-02-16 10:47:38 +08:00
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
pandamicro 65c86be0b4 Merge pull request #10065 from cocos-creator/v3.5.0
sync V3.5.0
2022-02-09 13:41:22 +08:00
zheng han bd4db672cb V3.6.0 scene view native (#10044)
* 1. export pipeline in native
2. remove some editor useless code

* Add Editor Camera native data synchronization

* fix crash: native model is destroyed but not removed from renderscene (#9543)

Co-authored-by: lijilin <jilin.li@cocos.com>
(cherry picked from commit 3d1ac52a26)

* refactor preview code

* fix model preview function

* fix deserialize bug

* fix JSB error

* change default value of HTML5

* fix jsb.CCObject problem

* fix ts error

* Fix eslint in misc

Co-authored-by: zhengxiangkui <476393671@qq.com>
Co-authored-by: 李吉林 <798080536@qq.com>
Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-01-28 16:53:49 +08:00
minggo ed08362802 Merge pull request #10041 from holycanvas/v3.6.0-merge
V3.6.0 merge
2022-01-26 11:46:41 +08:00
ChiaNing 8f87cbd483 useless UI_GPU code delete (#10048) 2022-01-25 19:14:41 +08:00
zxx43 10e5ab3035 fix deferred particle blend (#10046) 2022-01-25 19:10:44 +08:00
jk20012001 8780a311a2 Fix skybox stretch in ortho projection (#10045)
Fix default sphere model
2022-01-25 19:09:46 +08:00
jk20012001 dbc22fe878 fix shader code style (#10039) 2022-01-24 18:18:24 +08:00
santy-wang 41fe64b097 Merge branch 'v3.5.0' of https://gitlab.cocos.net/publics/engine into v3.6.0 2022-01-24 17:45:05 +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
xubing e30c4e4cb6 Skybox optimization (#10004)
* Skybox optimization

* update notes

* remove legacy parameters

* update notes

* changing variable names
2022-01-21 11:39:41 +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
jk20012001 7795174709 add default skybox (#10021)
* Add default skybox for template scene

* adjust light dir to fit sun position
2022-01-20 11:59:56 +08:00
pandamicro 393bb3a3e7 Update metas (#10020) 2022-01-19 12:49:42 +08:00
黄森斌 c4e59cfd1a update sync 3.4.1 function codes (#9970) 2022-01-12 14:06:42 +08:00
zxx43 6e32470a71 fix particle switch cpu / gpu bug caused by alignment space (#9952)
* fix particle switch cpu / gpu bug caused by alignment space

* ensure sqrt quaternion to be > 1
2022-01-11 23:18:55 +08:00
troublemaker52025 7ca1e42f5c Fix no planar shadow on mac for v3.4.1 (#9953) 2022-01-11 17:39:08 +08:00
黄森斌 13b741d906 sync 3.4.1 inspector codes (#9938) 2022-01-10 13:42:17 +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 39ff7f0798 Change define(CC_DIR_SHADOW) to uniform(cc_lightDir.w) for v3.4.1 (#9921)
* change define(CC_DIR_SHADOW) to cc_lightDir.w uniform for v3.4.1

* update

* update 2

* update effect

* update

* update effect 2
2022-01-06 23:08:39 +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
SijieWang c392e019a2 [Feature] Prefab: Support the persistent (#9884)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-01-05 23:28:41 +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
黄森斌 b3babeab29 change ts template (#9883) 2021-12-28 14:28:30 +08:00
jk20012001 0c19b9a883 fix define syntax error (#9870)
* fix define syntax error

* fix toon shader syntax error
2021-12-24 17:36:47 +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 5899123ce0 Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0 2021-12-22 10:31:17 +08:00
zxx43 7ece432cbc Improve gpu particle performance (#9847)
* improve gpu particle performance

* fix eslint error
2021-12-21 17:50:34 +08:00
pandamicro 3a63726b19 Merge pull request #9834 from holycanvas/v3.5.0-sync
sync v3.4.1
2021-12-17 13:32:06 +08:00
袁炜海 f7922ccb33 feat: add assets document link (#9823) 2021-12-17 13:23:03 +08:00