Giter Site home page Giter Site logo

lowpolyocean's Introduction

LowpolyOcean

Version : 1.2

Unity Version : 2018.3.11f

LowpolyOcean is a highly customizable water shader system, style is Low poly.

Supports water surface and under water effects, and under water effects can be seamlessly switches.

Here is the built-in render pipeline version, The Lightweight RP version in Unity asset store.

Demo (Note the Version)

Comparison

All code has been rewritten and optimized in the Lightweight RP version.

Mode built-in RP Lightweight RP
Performance Slower Faster
Lighting style Pixel Pixel, Flat
Fron Side Lighting Module UnityPBS Blinn-Phong, SunShine
Point Light Built-in method Blinn-Phong
Reflection Planar Color, CubeTexture, Probes
Under Water Simple Advanced

Known problem

  • Refraction consumes too much performance, unless the water does not receive shadows, In Lightweight RP, transparent objects can also receive shadows (limited), and opaque texture is relatively cheap to obtain.
  • In order to achieve refraction offset effect, need to use camera to render the camera depth texture of water. In Lightweight RP, only one pass is needed.
  • In Unity 2019.1.0f2, shadow display is incorrect.

Thanks

Unity Document : https://docs.unity3d.com/Manual/index.html

GPU Gems : https://developer.nvidia.com/gpugems/GPUGems/gpugems_pref01.html

Catlike Coding : https://catlikecoding.com/

Assassin’s Creed III: The tech behind (or beneath) the action : https://www.fxguide.com/featured/assassins-creed-iii-the-tech-behind-or-beneath-the-action/

Reference for HLSL : https://docs.microsoft.com/zh-cn/windows/desktop/direct3dhlsl/dx-graphics-hlsl

Assassin’s Creed: Black Flag – Waterplane : https://simonschreibt.de/gat/black-flag-waterplane/

Effect

1 2

lowpolyocean's People

Contributors

jiongxiagu avatar

Watchers

 avatar

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.