GithubHelp home page GithubHelp logo

stridesimplewater's Introduction

Stride Simple Water

Simple water material with screen space refractions, bad fake caustics, smoth edges and some depth fog.

Screenshot

Graphics Compostior

Forward Renderer must have Bind Depth As Resoruce During Transparent Rendering and Bind Opaque As Resoruce During Transparent Rendering checked.

Material Setup

Instructions assume that a material of type PBR Material: Metalness is used.

Surface

  • Set normal map to shader, set source to WaterNormalMap
  • In composition nodes, set speed to a nice like x: 0.02, y: 0.02, this controls the scrolling speed. Set Texture to the normal map you want to used
  • Disable Scale & Offset and Reconstruct Z
  • Normal maps must be compressed, if not then modify the source of WaterNormalMap to not reconstruct the z axis

Micro Surface / Gloss map

Set to a high value

Diffuse

Pick a color

Specular / Metalness

Set to 0

Emissive

Set to Water Emissive Map. Most of the water shading is calculated in this custom feature. Set the caustics texture to something, the rest of the options should have sane default. Set the ripples texutre to the ripples render target.

Transparency

Set to blend with alpha = 1, this is just to force rendering of the material to happen in the transparent stage

Mesh

Use a plane with whatever UV scale works for your scene.

Interactive Ripples

Ripples requires a particle system that renders into a specific render group. A render target should be setup, and the compositor has to be modified to render to this texture. The particle system render group should be excluded from the main view in the compositor.

stridesimplewater's People

Contributors

johang88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

anu-prakash-dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.