GithubHelp home page GithubHelp logo

imclab / unity-community-ocean Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trond/unity-community-ocean

0.0 2.0 0.0 60 KB

A community effort to create an ocean object for Unity.

Home Page: http://forum.unity3d.com/threads/16540-Wanted-Ocean-shader

unity-community-ocean's Introduction

This is based on TwinFox's excellent FFT water from the Unity forums 
(http://forum.unity3d.com/threads/16540-Wanted-Ocean-shader)

Known issues:
-Only works on Pro as is.
-(Somewhat improved) The water tiles don't tile particularly well with lower LODs. This works well for a stationary camera,
 but for a moving one you'd want to shift the tiles as the camera moves.
-The water tiles sometimes get culled, probably because the bounds for the mesh
 are not updated/compensating for the animated vertex offset.
-When the camera is very close to the reflection plane, the reflection looks like garbage. This
 effect is even more noticable using the skybox provided in the sample scene, because it starts
 sampling from the black area in these cases.
-If the water tiles are rotated, the reflection/refraction will not work since the reflection
 plane is hardcoded to be XZ-aligned.
-This will most likely not run at all on lower-end hardware and most likely result in
 low framerate on anything else.
-The underwater pass is now rendered even if there is no chance of the camera being under water.
 Also, the underwater pass does not clip anything above the sealevel, which is also an optimization
 that should have been there (see how the reflection/refraction passes do this). The opposite is
 true for the overwater pass.
 
Any improvements are more than welcome (and necessary :)!

unity-community-ocean's People

Contributors

trond avatar

Watchers

 avatar  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.