There is some cool code on this page to render bumpmaps using CG code, except... it doesn't render anything when i add a bumpmap.
[http://en.wikibooks.org/wiki/Cg_Programming/Unity/Lighting_of_Bumpy_Surfaces][1]
[1]: http://en.wikibooks.org/wiki/Cg_Programming/Unity/Lighting_of_Bumpy_Surfaces
↧