Decalery is a mesh-based decal system from the creator of Bakery.
It lets you imprint a decal of any shape on a mesh of any other shape. The resulting geometry is just a simple alpha-blended mesh, so decals can be easily rendered on any platform or render pipeline without additional overhead (apart from regular overdraw).
Decalery includes two separate decal generation systems, one for in-editor level design, and another for in-game runtime creation.
Features:
- Decals and receivers of any geometric shape.
- Lit and lightmapped decals. Decalery supports both built-in and Bakery lightmaps (including SH, MonoSH and Volumes).
- Deformable decals on skinned meshes.
- Decal shaders (mitigating Z-fighting and more) for URP, HDRP and the built-in render pipeline.
- A variety of techniques for runtime decal spawning.
- Trail-like runtime decals for e.g. skidmarks.
Tested on everything from Unity 5.6 to 6000.0.10, including built-in, URP and HDRP.
If Asset Store does not allow downloading to pre-2021.3 versions, you can install 2021.3, download it and then copy to an earlier version project.
Bakery is not required for Decalery to work, but Decalery supports Bakery features.
This is the first release. In-editor decal system is well-tested and must work on all platforms. If you intend to use it for in-game runtime decal creation, please read about current platform limitations in the manual. Runtime decals platform coverage is still being worked on. More features will be added soon.
Decalery是一款基于网格的贴花系统,由Bakery 的创建者开发。
它可以让你在任何其他形状的网格上印制任何形状的贴花。生成的几何图形只是一个简单的 alpha 混合网格,因此贴花可以在任何平台或渲染管道上轻松渲染,而无需额外的开销(除了常规的过度绘制)。
Decalery 包含两个独立的贴花生成系统,一个用于编辑器内的关卡设计,另一个用于游戏内的运行时创建。
功能
- 任何几何形状的贴花和接收器。
- 发光和光贴图 Decalery 支持内置光贴图和 Bakery 光贴图(包括 SH、MonoSH 和 Volumes)。
- 皮肤网格上的可变形贴花。
- 用于 URP、HDRP 和内置渲染管道的贴花着色器(减轻 Z 打击等)。
- 多种运行时贴花生成技术。
- 用于滑痕等的类似轨迹的运行时贴花。
已在从 Unity 5.6 到 6000.0.10 的所有版本上进行了测试,包括内置、URP 和 HDRP。
如果 Asset Store 不允许下载 2021.3 之前的版本,可以安装 2021.3,下载后复制到早期版本的项目中。
Decalery 不需要使用 Bakery,但 Decalery 支持 Bakery 功能。
这是第一个版本。编辑器内的贴花系统经过严格测试,必须能在所有平台上运行。如果您打算将其用于游戏运行时贴花创建,请阅读 手册中有关当前平台 限制的内容 。运行时贴花的平台覆盖范围仍在努力中。更多功能将很快添加。
|