33 lines
871 B
Text
33 lines
871 B
Text
{
|
|
|
|
stateMap "premulalpha";
|
|
|
|
vertexShader 3.0 "lp_tc0n0_dtex_sm3_clrdtl_clothwet1.hlsl"
|
|
{
|
|
}
|
|
|
|
pixelShader 3.0 "lp_b0c0n0_sm3_clrdtl_clothwet1.hlsl"
|
|
{
|
|
colorMapSampler = material.colorMap;
|
|
normalMapSampler = material.normalMap;
|
|
|
|
cwWetColor = material.cwWetColor;
|
|
cwWaterLevelHeight = material.cwWaterLevelHeight;
|
|
cwWetSpecularity = material.cwWetSpecularity;
|
|
cwEnvMapParms = material.cwEnvMapParms;
|
|
cwWetnessInvert = material.cwWetnessInvert;
|
|
|
|
cwWetnessMap_Sampler = material.cwWetnessMap;
|
|
cwWetCosineMap_Sampler = material.cwWetCosineMap;
|
|
colorDetailScale = material.colorDetailScale;
|
|
colorDetailMapSampler = material.colorDetailMap;
|
|
|
|
}
|
|
|
|
vertex.position = code.position;
|
|
vertex.normal = code.normal;
|
|
vertex.color[0] = code.color;
|
|
vertex.texcoord[0] = code.texcoord[0];
|
|
vertex.texcoord[2] = code.tangent;
|
|
|
|
}
|