All Projects → Scrawk → Tiled Directional Flow

Scrawk / Tiled Directional Flow

Licence: other
A shader to control the direction water flows based on a flow map in Unity.

Programming Languages

flow
126 projects

Projects that are alternatives of or similar to Tiled Directional Flow

Hsv Color Picker Unity
HSV color picker for Unity UI
Stars: ✭ 355 (+557.41%)
Mutual labels:  unity, shaderlab
Unityurpunlitscreenspacedecalshader
Unity unlit screen space decal shader for URP. Just create a new material using this shader, then assign it to a new unity cube GameObject = DONE, now you have unlit decal working in URP
Stars: ✭ 455 (+742.59%)
Mutual labels:  unity, shaderlab
Unity Shadersketches
Sketches made with ShaderLab in Unity.
Stars: ✭ 362 (+570.37%)
Mutual labels:  unity, shaderlab
Unity Ui Rounded Corners
This components and shaders allows you to add rounded corners to UI elements!
Stars: ✭ 307 (+468.52%)
Mutual labels:  unity, shaderlab
Inkpainter
Texture-Paint on Unity.
Stars: ✭ 849 (+1472.22%)
Mutual labels:  unity, shaderlab
Raindropeffect
RainDropEffect for the Unity Asset Store
Stars: ✭ 320 (+492.59%)
Mutual labels:  unity, shaderlab
Unityfurshader
🐈 Fur shader for Unity.
Stars: ✭ 412 (+662.96%)
Mutual labels:  unity, shaderlab
Unity Shader Basics Tutorial
A introduction into creating shaders for Unity
Stars: ✭ 243 (+350%)
Mutual labels:  unity, shaderlab
Shaderlabvs
ShaderlabVS is a Visual Studio plugin for Unity Shaderlab programming
Stars: ✭ 841 (+1457.41%)
Mutual labels:  unity, shaderlab
Anything about game
A wonderful list of Game Development resources.
Stars: ✭ 541 (+901.85%)
Mutual labels:  unity, shaderlab
Configurableshaders
Showing off the power of shader properties in Unity
Stars: ✭ 304 (+462.96%)
Mutual labels:  unity, shaderlab
Packedrgbmshader
32-bit packed color format with RGBM encoding for shader use
Stars: ✭ 39 (-27.78%)
Mutual labels:  unity, shaderlab
Depthinverseprojection
An example showing how to inverse-project depth samples into the view/world space in Unity.
Stars: ✭ 296 (+448.15%)
Mutual labels:  unity, shaderlab
Unity3dcrosssectionshader
CG shader for unity3D to create a cross section through meshes
Stars: ✭ 333 (+516.67%)
Mutual labels:  unity, shaderlab
Alloy
Alloy physical shader framework for Unity.
Stars: ✭ 244 (+351.85%)
Mutual labels:  unity, shaderlab
Unity Wireframe
General purpose wireframe shaders for use in Unity.
Stars: ✭ 378 (+600%)
Mutual labels:  unity, shaderlab
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (+266.67%)
Mutual labels:  unity, shaderlab
Universalshaderexamples
Sand box project containing example shaders and assets compatible with Unity Universal Render Pipeline.
Stars: ✭ 207 (+283.33%)
Mutual labels:  unity, shaderlab
Unitypcss
Nvidia's PCSS soft shadow algorithm implemented in Unity
Stars: ✭ 533 (+887.04%)
Mutual labels:  unity, shaderlab
Testbedhdrp
Testbed project for Unity HDRP (High Definition Render Pipeline)
Stars: ✭ 859 (+1490.74%)
Mutual labels:  unity, shaderlab

Tiled-Directional-Flow

This project is a Unity version of the tiled directional flow project found here.

The idea behind this project is to provide a method to control the direction water flows based on a flow map. The flow map (also know as a velocity map) is simply a texture with the red and green components representing the flow direction normalized to a range of 0 - 1. The shader then divides space into a series of squares where the waters normal direction is determined by the flow map. This is done four times, each with a different offset and the results blended together to remove any seams.

Creating the flow map could be a bit of a hassle. It would be best done using a fluid simulation and some 3D modelling programs can do this for you. You could also paint it by hand in Photoshop but this could be quite hard.

At the moment the shader is just applied to a flat plane and viewed from above so the effect can be seen best. Moving this to a terrain shader would be relatively trivial if that is what you need.

Tiled Directional Flow

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].