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 - Unlit Texture

11/23/2013

0 Comments

 
These shaders extend our previous shaders featuring an Unlit Color and add a single texture. I have also removed much of the comments from the previous shader. Going forward, as i extend previous versions of shaders I will be removing old comments and adding new ones to explain new elements. Hopefully this will make it easy to follow along. 
Picture
*UPDATE* I added a demonstration of Scaling/Offsetting UVs via the texture parameter values in both Maya and Unity. These aren't used all that frequently but I figured i should include them for completeness :)

Unity's controls tie directly into the Tile / Offset Parameters of the texture. Maya's controls had to be implemented through a custom parameter in the shader. I'm sure there is some way to access the Repeat UV / Translate Frame parameters in Maya but I don't know how. Sorry :(

Maya CGFX File:

unlittexture.cgfx
File Size: 2 kb
File Type: cgfx
Download File

Unity SHADER File:

unlittexture.shader
File Size: 1 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.