25 lines
625 B
Text
25 lines
625 B
Text
{
|
|
stateMap "premulalpha";
|
|
|
|
vertexShader 2.0 "cloud_nc_dtex.hlsl"
|
|
{
|
|
cloudLightColor = material.cloudLightColor;
|
|
cloudDarkColor = material.cloudDarkColor;
|
|
cloudLiningSize = material.cloudLiningSize;
|
|
cloudLiningColor = material.cloudLiningColor;
|
|
}
|
|
|
|
pixelShader 2.0 "cloud_nc.hlsl"
|
|
{
|
|
colorMapSampler = material.colorMap;
|
|
detailMapSampler = material.detailMap;
|
|
cloudLiningColor = material.cloudLiningColor;
|
|
}
|
|
|
|
vertex.position = code.position;
|
|
vertex.texcoord[0] = code.texcoord[0];
|
|
vertex.normal = code.normal;
|
|
vertex.texcoord[1] = code.tangent;
|
|
vertex.color[0] = code.color;
|
|
|
|
}
|