Frosted Glass 适配UE4.25 - 4.27, 5.0磨砂玻璃着色器
The frosted glass shader is provided in two fundamental implementations, each with their benefits and drawbacks (they can be combined):
Surface Material
Supports per surface diffuse color (for effects like stained glass)
Supports per surface reflection color
Does not support rendering translucency behind the frosted surface
Supports mobile rendering (lower quality)
Post Process Material
Supports per post process volume diffuse color
Supports per surface reflection color
Supports rendering translucency behind the frosted surface
Supports mobile rendering (full quality)
The best thing to do is look at the included showcase level to see how the different versions are used and how they can be used in combination to enable more complex effects like multiple layers of frosted glass. Most examples also have a note placed next to them in the level, that provides further information on that specific example.
磨砂玻璃着色器提供了两个基本的实现,每个都有自己的优点和缺点(他们可以组合):
表面材料
支持每个表面漫射颜色(用于彩色玻璃等效果)
支持每个表面反射颜色
不支持在磨砂表面后面呈现半透明效果
支持移动渲染(低质量)
后处理材料
支持每个后处理体积漫射颜色
支持每个表面反射颜色
支持在磨砂表面后面渲染半透明
支持移动渲染(全质量)
最好的方法是查看包含的展示级别,看看如何使用不同的版本,以及如何将它们组合使用以实现更复杂的效果,如多层磨砂玻璃。在关卡中,大多数例子旁边都有一个注释,提供有关该特定例子的进一步信息。
页:
[1]