{ stateMap "default"; vertexShader 3.0 "lp_tc0_dtex_sm3_sco_clrdtl.hlsl" { } pixelShader 3.0 "lp_t0c0d0_sm3_sco_clrdtl.hlsl" { colorMapSampler = material.colorMap; detailMapSampler = material.detailMap; detailScale = material.detailScale; 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]; }