cg小白兔 发表于 2024-4-9 09:37:46

【更新】Stylized Water Toon Shader - Mobile Ready 3.0风格化水














-- Stylized Water Toon Shader --
This shader is a ready to use water material totally customizable. It’s a optimized mobile friendly shader thought for designer, artists and devs that want a simple but powerful water material without have to handle with coding.
In the package there is an example scene with some environment assets to help you understand how does it works. It’s pretty simple and you can find a documentation where every parameter is described.

-- Main Features --
Water
You can set an alpha texture, it’s alpha channel, color it and change it’s UV position over time
Wave
You can change the plane vertex position to simulate a waving water effect
Gradient
You can set a gradient texture to create a dark deep water effect and change it’s UV position over time
Foam
When water intersects with other object this shader create a waving foam effect that can be totally customized.
Shadow
When water intersects with other object this shader create a shadow so that object can be seen underwater
Darkness
Based on camera position you can create a gradient dark/light color, the more you go further the darker water become

-- Compatibility --
Rendering Pipeline
This shader support the unity default rendering pipeline and the LWRP but doesn’t support HD rendering pipeline.
Unity version
The minimum supported unity version for this package is 2019.2.0 but the shader is supported also with older versions (from 2018.4.38). I will add support for older version
Mobile
The minimum hardware requirement is a mobile compatible with OPENGL ES 3.0. Every devices release after 2012 are supported.
Lighting
The shader doesn’t react to external light, like point light or spot light because It’s optimized to work with mobile
Contents
The package provide you everything you need to start working with the shader An example scene with palm tree, rocks, island, grass and a water material made with this shader. Two material example ready to use and 9 texture: 4 for alpha, 2 for gradient and 3 for foam

-- 风格化水卡通着色器

该着色器是一款可随时使用的水材质,完全可自定义。它是一款经过优化的移动友好型着色器,专为想要简单但功能强大的水材质而无需编码的设计师、艺术家和开发人员设计。

软件包中有一个包含一些环境资产的示例场景,可以帮助你了解它是如何工作的。它非常简单,你可以在文档中找到每个参数的说明。

-- 主要功能 --



您可以设置一个 alpha 纹理、它的 alpha 通道、它的颜色并随时间改变它的 UV 位置。



你可以改变平面顶点的位置来模拟波浪状的水波效果

渐变

您可以设置渐变纹理来创建深色深水效果,并随时间改变其 UV 位置。

泡沫效果

当水与其他物体相交时,该着色器会产生波浪状的泡沫效果,这种效果可以完全自定义。

阴影

当水与其他物体相交时,此着色器会产生阴影,使物体在水下清晰可见。

阴影

根据摄像机的位置,您可以创建渐变的深/浅颜色,越往后水的颜色越深。

-- 兼容性

渲染管道

此着色器支持 Unity 默认渲染管道和 LWRP,但不支持高清渲染管道。

统一版本

本软件包支持的最低 unity 版本为 2019.2.0,但着色器也支持旧版本(从 2018.4.38 起)。我将添加对旧版本的支持

移动设备

最低硬件要求是兼容 OPENGL ES 3.0 的手机。支持 2012 年之后发布的所有设备。

光照

着色器对外部光线(如点光源或聚光灯)无反应,因为它已针对移动设备进行了优化。

内容

本软件包提供了开始使用着色器所需的一切内容 包含棕榈树、岩石、岛屿、草地和使用该着色器制作的水材质的示例场景。两个可直接使用的材质示例和 9 个纹理: 4 个阿尔法纹理、2 个渐变纹理和 3 个泡沫纹理




页: [1]
查看完整版本: 【更新】Stylized Water Toon Shader - Mobile Ready 3.0风格化水