cod4-sdk/raw/techniques/debug_bumpmap.tech
2008-01-19 00:00:00 +00:00

18 lines
317 B
Text

{
stateMap "default";
vertexShader 2.0 "debug_normals.hlsl"
{
}
pixelShader 2.0 "debug_normals.hlsl"
{
normalMapSampler = material.normalMap;
}
vertex.position = code.position;
vertex.normal = code.normal;
vertex.texcoord[0] = code.texcoord[0];
vertex.texcoord[1] = code.tangent;
}