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 - Pixel Lighting and Normal Maps

12/4/2013

0 Comments

 
This one is a big change compared to the last few shaders i've posted. Because normal maps effect the lighting and they must be read in the pixel shader, pixel lighting is required. This means that nearly all the work previously done must be relocated from the vertex to the pixel shaders. It also is quite a bit more expensive than the previous shaders.

On the plus side, it looks awesome compared to vertex lighting! PIXEL LIGHTING AND NORMAL MAPS OMG.
Picture

Maya CGFX File:

phongnormal.cgfx
File Size: 7 kb
File Type: cgfx
Download File

Unity Shader File:

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