Artistic Experiments
  • Home
  • Reel
  • Shaders
    • Stylized Shaders
    • Lighting Techniques
    • Shader Effects
    • Cubemaps
    • Pixel Lit Shaders (Basic)
    • Vertex Lit Shaders (Basic)
    • Unlit Shaders (Basic)
  • Tools
  • WIP
  • Contact

CG Shaders - Flowmaps

12/21/2013

0 Comments

 
This is one of my favorite shaders. It was really challenging implementing it the first time i read Valve's GDC paper on the subject, but I've gained a bit of understanding since then. It is super useful for not only water, but particles as well, like smoke and fire. While UV offsetting and flip-book textures will get you somewhere, flowmaps will get you even further in terms of variation between particles. Pretty much anything you want to look fluid like but don't want to pay fluid costs for is a great candidate for flowmaps IMO.

These shaders implement the full suite of techniques described in the original presentation by Valve. This includes the pulsing fix, debris flow, and normal intensity modification. It also runs off of vertex colors by default but you can change that in the pixel shader. Hope you like it!
Picture

Maya CGFX File:

phongnormalflowmap.cgfx
File Size: 12 kb
File Type: cgfx
Download File

Unity SHADER File:

phongnormalflowmap.shader
File Size: 18 kb
File Type: shader
Download File

0 Comments



Leave a Reply.

    CG Shaders

    Shaders I've built as i teach myself CG. Feel free to download and use for whatever. If you like them you can buy me a beer or something.

    Archives

    December 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.