cg小白兔 发表于 2024-6-6 12:19:05

【更新】Hologram (LWRP URP)1.1游戏全息效果











Simple and fast hologram effect for your game! Shader build on top of PBR master node, interacts with other lights, can cast shadow.

Hologram shader contains:
- Glitch effect - for some reason Hitech holograms have glitches/artefacts why? I don't know but you can find this effect in my package too! You can control intensity, speed and frequency of this effect or just disable it.(effect based on vertex offset)
- Flickering effect - addition to glitch effect, control frequency, duration, pattern of flickering. Pattern is controlled by texture, two different pattern textures included.
- Scanlines effect - probably the most important effect to achieve hologram effect, you can select if scanlines are based on object or world position (useful for moving/animated objects), scanlines pattern is based on texture for better customization options, three scan lines pattern textures included. You can also control the tiling factor and speed of scanlines.
- Albedo texture - hologram don't have to be one color only, you can attach your model albedo texture and control its tint and alpha parameters to achieve the effect you want!
(supports only one texture per material)
- Rim lighting - adds depth to hologram, makes it look more cinematic, control rim light tint and power!


简单快捷的游戏全息效果!着色器建立在 PBR 主节点之上,可与其他灯光互动,并能投射阴影。

全息图着色器包含
- 闪烁效果--不知为何,Hitech 全息图会出现闪烁/伪影,原因何在?我不知道,但你也可以在我的软件包中找到这种效果!您可以控制该效果的强度、速度和频率,或者直接禁用它。 (基于顶点偏移的效果)
- 闪烁效果--除闪烁效果外,还可以控制闪烁的频率、持续时间和模式。图案由纹理控制,包含两种不同的图案纹理。
- 扫描线效果--这可能是实现全息图效果最重要的效果,你可以选择扫描线是基于物体位置还是基于世界位置(对移动/动画物体有用),扫描线图案基于纹理,可提供更好的自定义选项,包含三种扫描线图案纹理。你还可以控制平铺系数和扫描线的速度。
- 反照率纹理--全息图不一定只有一种颜色,你可以附加你的模型反照率纹理,并控制其色调和 Alpha 参数,以达到你想要的效果!
(每个材质只支持一种纹理)
- 边缘照明--增加全息图的深度,使其看起来更像电影,控制边缘光的色调和功率!





页: [1]
查看完整版本: 【更新】Hologram (LWRP URP)1.1游戏全息效果