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 - Detail Normals

12/8/2013

0 Comments

 
Here's a trick i get asked about a lot : Detail Normals. Detail Normals are a great way to add resolution to a normal map when viewing it up close. Unreal uses this a lot to add detail to their materials and i actually learned this from back in the old days of tearing apart shader networks in UDK. The best part is you can use a fairly low resolution tilable texture and still get decent results by tiling it inside the material

I included an intensity and falloff modifier for the detail normals. While many shaders like this include an intensity adjustment, i think that a falloff is useful for maintaining the shapes of the base normal map. This allows the detail to be most intense in flat areas of the base normals, where they are most needed. 

This shader is based on the original phong with normals i did earlier
Picture

Maya CGFX File:

phongdetailnormal.cgfx
File Size: 8 kb
File Type: cgfx
Download File

Unity SHADER File:

phongdetailnormal.shader
File Size: 10 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.