Search Unity

Ocean shader

Discussion in 'Shaders' started by Proto, Jan 19, 2009.

  1. Proto

    Proto

    Joined:
    Aug 20, 2007
    Posts:
    79
    Hi all,

    I've been inspired by seeing the work coming from this thread and started playing around with an ocean shader. This shader is based on pro water and uses scrolling textures and some blending effects to simulate waves, crests and some fake anisotropic-like lighting.

    It's still in it's early days. This version was an experiment to see what effects I could get with normal maps.

    Have a look at the webplayer (330Kb). I'm interested in seeing what your graphics cards make of it. I've tested on an GF8800 an X700 and a RX1600.



    I plan to explore displacement next as I'm not that happy with the wave depths I've managed to get so far.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Looks good on my Radeon X800.

    --Eric
     
  3. nickavv

    nickavv

    Joined:
    Aug 2, 2006
    Posts:
    1,801
    I wanted to give you a digital high-five, but I couldn't load the web player. D;
     
  4. Proto

    Proto

    Joined:
    Aug 20, 2007
    Posts:
    79
  5. nickavv

    nickavv

    Joined:
    Aug 2, 2006
    Posts:
    1,801
    My, that does look nice. :)

    /me gives digital high-five!
     
  6. spiralgear

    spiralgear

    Joined:
    Dec 13, 2007
    Posts:
    528
    that looks really great!



    Alot of people have been needing an ocean shader ( myself included ) so awesome stuff.
     
  7. NathanWarden

    NathanWarden

    Joined:
    Oct 4, 2005
    Posts:
    663
    Wow Proto! I have to say that looks really good! :) GF8800 GT
     
  8. Zante

    Zante

    Joined:
    Mar 29, 2008
    Posts:
    429
    Looking fantastic on my laptop's nvidia quadro 1500m.

    I look forward to a release. : ]

    At least I hope you're planning to release it. ;p