34 lines
901 B
Text
34 lines
901 B
Text
|
{
|
||
|
|
||
|
stateMap "default";
|
||
|
|
||
|
vertexShader 3.0 "lp_tc0_dtex_sm3_clrdtl_specdtl_clothwet1.hlsl"
|
||
|
{
|
||
|
}
|
||
|
|
||
|
pixelShader 3.0 "lp_t0c0_sm3_clrdtl_specdtl_clothwet1.hlsl"
|
||
|
{
|
||
|
colorMapSampler = material.colorMap;
|
||
|
|
||
|
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;
|
||
|
|
||
|
specDetailScale = material.specDetailScale;
|
||
|
specDetailMapSampler = material.specularDetailMap;
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.normal = code.normal;
|
||
|
vertex.color[0] = code.color;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
|
||
|
}
|