Added normal based material.

This commit is contained in:
David Williams
2008-01-16 20:56:54 +00:00
parent 4013e9143f
commit 2ec6e8fbda
5 changed files with 69 additions and 16 deletions

View File

@ -0,0 +1,10 @@
struct v2f
{
float4 Position : POSITION; //in projection space
float4 Normal : TEXCOORD0;
};
float4 main(v2f IN) : COLOR
{
return abs(IN.Normal);
}