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 - UV Panning

12/15/2013

2 Comments

 
Here's an example of some of the my more basic water. It uses a normal map sampled twice and offset over time. This allows the map to pan across the UVs, giving the illusion of movement. Used with tilable textures the effect is decent. I offset by sin(time) in one direction and adjust the speed and scale of the second normal map to add a little variation. It also uses alpha blending via a frensel term with a slight bias.
Picture

Maya CGFX File:

phongnormalpan.cgfx
File Size: 9 kb
File Type: cgfx
Download File

Unity SHADER File

phongnormalpan.shader
File Size: 13 kb
File Type: shader
Download File

2 Comments
Marie Delwart link
1/12/2016 12:10:31 am

Thanks a lot for all this incredible shaders!
It will help me a lot to make mine and improve myself in shading. Already share your website with some technical artist I know.
Keep going :D

Reply
Gabe
1/12/2016 07:22:57 am

Thanks! Glad its useful. I've been a little busy at work and haven't posted anything in a while, but hopefully i'll get a bit more time again once the game ships.

Reply



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.