{ stateMap "default"; vertexShader 3.0 "lp_sun_tc0n0_dtex_sm3_clothcharr1_clrdtl.hlsl" { } pixelShader 3.0 "lp_sun_r0c0n0_sm3_clothcharr1_clrdtl.hlsl" { colorMapSampler = material.colorMap; normalMapSampler = material.normalMap; clothcharrMaskMapScale = material.clothcharrMaskMapScale; clothcharrMaskMap_Sampler = material.clothcharrMaskMap; clothcharrColorMapScale = material.clothcharrColorMapScale; clothcharrEmberColorAndBrightness = material.clothcharrEmberColorAndBrightness; clothcharrColorMap_Sampler = material.clothcharrColorMap; clothcharrNormalMap_Sampler = material.clothcharrNormalMap; 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; }