找回密码
 立即注册
搜索

[纹理/着色] GrassFlow : DX11 Grass Shader 1.69动态草模拟

[复制链接]
112 |0
发表于 2023-7-11 14:09:19 | 显示全部楼层 |阅读模式


Features:
~Simple but strong editing tools to let you create grass the way you want and paint color and grass parameters for perfect artistic control right from the editor just like the Unity terrain tools. Even supports undo/redo!
~Supports grass texture atlas and you can paint density of individual textures to lay out your grass as you please.
~Can be attached to meshes or Unity terrain with terrain layer/splat map support.
~Grass properties can be easily changed at runtime to allow for interactivity, ex: players can flatten grass by any means. Also includes a system of creating ripple effects for gently (or no so gently) pushing the grass around.
~Automatically normalize mesh density to avoid remeshing.
~Grass can have multiple segments and bend in the wind and by being pushed.
~URP version of the shader included.
~Deferred version of the shader included.
~Cast and receive shadows, supporting semi transparent textures.
~Baked 3D noise allows for dynamic and evolving wind effects.
~Bake an optimized version of your mesh with triangles only where you want grass.
~Dynamic LOD system that decreases grass in the distance while scaling it to fill in the gaps a bit and smoothly fading in-between the LOD steps.
~Use of asynchronous multithreading in key areas to speed up loading and rendering.
~Supports multiple Unity lights.
~Versatile, can be used as a more traditional billboard renderer with enhanced features or used in any way you see fit.
~Custom inspectors that makes it easy to edit all the settings you need and has descriptive tooltips for every option.
~Example scenes are provided that show how to set up and interface with GrassFlow. Even comes with a cute little hand painted house model, bonus!
~Source code available if you fancy.

特点:
简单但强大的编辑工具,让你创建草的方式,你想要和油漆颜色和草的参数完美的艺术控制从编辑器就像Unity地形工具。甚至支持撤销/重做!
支持草纹理图集,你可以绘制单个纹理的密度来布置你喜欢的草。
~可以附加到网格或统一地形与地形层/splat地图支持。
~草地属性可以在运行时很容易地改变,以允许互动,例如:玩家可以用任何方法把草地弄平。还包括一个系统,创造涟漪效应轻轻地(或不那么轻轻地)推动草。
自动归一化网格密度,避免重划分。
~草可以有多个部分,在风和被推的情况下弯曲。
~包含URP版本的着色器。
~包含延迟版本的着色器。
投射和接收阴影,支持半透明纹理。
烘焙3D噪音允许动态和进化风的效果。
烘焙一个优化版本的网格,只在你想要草的地方用三角形。
动态LOD系统,减少距离中的草,同时缩放它以填补空隙,并在LOD步骤之间平滑地消退。
在关键区域使用异步多线程来加速加载和渲染。
~支持多个Unity灯。
多功能,可以作为一个更传统的广告牌渲染器与增强功能或以任何方式使用你认为合适的。
自定义检查器,可以轻松编辑您需要的所有设置,并为每个选项提供描述性工具提示。
示例场景展示了如何设置和界面与GrassFlow。甚至还有一个可爱的手绘小房子模型,奖金!
源代码,如果你喜欢。






回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表