Coder Social home page Coder Social logo

unityhdrpsimplewater's Introduction

Unity HDRP Free Realistic Water

Simple water shader prepared with ShaderGraph in Unity 2019.3.1f1. Has still a lot more work to be done but still might be of use to someone so here it is :) Not likely to get updated frequently but will be updated eventually.

Demonstration Video: https://youtu.be/rvMm2hA8FtM
Demonstration Video for 2019.3.0f1: https://youtu.be/trioIIom-Qw
My asset store page with other cool HDRP stuff like glasses, flame vfx and more: https://assetstore.unity.com/publishers/19358

Update 5

A conributor just fixed a weird ripple issue that happened with camera movement. Merged the pull request. Credit: https://github.com/ryantwarner

Update 4 (Long time no see)

Renewed the shader to be compatible for 2019.3.1f1. Added a tiny tiny readme which also includes a link to my asset store page. (Because why not? :) )
Also added a .unitypackage file for convenience.

Update 3

Added a working scene file with an example

Update 2

Added wave controls and Edge foam settings.

Update

Added waving and a crude way of edge foam. Will improve but still should be useful enough :)

How to

Just drag 1 or 2 normal maps to the textures and have fun with the settings :)

Settings(Skipping obvious ones like the main color):

Top Color: The outside color of the fresnel effect.

Speed: Sets the speed of blending. Can get jiggy on high speeds.

AngleDim: Sets the power of the fresnel effect (The color changes depending on your angle of view)

Smooth: Specular smooth.

A lot of wave settings (Just tinker with them and you'll see)

Edge Alpha: Adds the alpha from this texture to the foam. Can be used to add some form of simple variance

Clamp Edge Brightness: You will need to adjust this especially if you have bloom enabled.

Edge Offset: How long is the foam?

To-do

-Preventing "intersection repeats". You'll notice probably after tweaking it some time.

water.png

unityhdrpsimplewater's People

Contributors

flamacore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unityhdrpsimplewater's Issues

2019.1 (5.16.1) - Completely Transparent

So, I reconnected the SubShader as in the other issues, and now I see all the properties but the shader itself is completely transparent. Also, it seems like the waves are really tall.
Can you help?
Also can you send an example (maybe a scene?) with a working example, with proper normal textures and correct values?

image

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.