cod5-sdk/raw/techniques/zprepass_treecanopy_dtex.tech

22 lines
544 B
Text
Raw Normal View History

2008-11-20 00:00:00 +00:00
{
stateMap "tree_zprepass";
vertexShader 2.0 "treecanopy_sm_prepassv_dtex.hlsl"
{
treeCanopyMinimumSway = material.treeCanopyMinimumSway;
treeCanopyScaleRotationAngles = material.treeCanopyScaleRotationAngles;
treeCanopyAmbientOcclusion = material.treeCanopyAmbientOcclusion;
}
pixelShader 2.0 "treecanopy_sm_prepassp.hlsl"
{
colorMapSampler = material.colorMap;
}
vertex.position = code.position;
//vertex.normal = code.normal;
vertex.color[0] = code.color;
vertex.texcoord[0] = code.texcoord[0];
}