22 lines
459 B
Text
22 lines
459 B
Text
|
{
|
||
|
stateMap "default";
|
||
|
|
||
|
vertexShader 2.0 "distortion_shade_zfeather.hlsl"
|
||
|
{
|
||
|
distortionScale = material.distortionScale;
|
||
|
}
|
||
|
|
||
|
pixelShader 2.0 "distortion_zfeather.hlsl"
|
||
|
{
|
||
|
colorMapSampler = sampler.resolvedPostSun;
|
||
|
normalMapSampler = material.colorMap;
|
||
|
}
|
||
|
|
||
|
vertex.position = code.position;
|
||
|
vertex.normal = code.normal;
|
||
|
vertex.color[0] = code.color;
|
||
|
vertex.texcoord[0] = code.texcoord[0];
|
||
|
vertex.texcoord[1] = code.tangent;
|
||
|
|
||
|
}
|