axmol/tests/cpp-tests/Resources/MeshRendererTest/FakeShadow.material

34 lines
987 B
Plaintext
Raw Normal View History

// A "Material" file can contain one or more materials
material FakeShadow
{
technique normal
{
pass 0
{
shader
{
vertexShader = MeshRendererTest/simple_shadow.vert
fragmentShader = MeshRendererTest/simple_shadow.frag
// sampler:
// responsible for setting the texture and its parameters
// the Id of the sampler is the uniform name
sampler u_sampler0
{
path = MeshRendererTest/plane.png
wrapS = REPEAT
wrapT = REPEAT
}
sampler u_sampler1
{
path = MeshRendererTest/shadowCircle.png
wrapS = CLAMP_TO_EDGE
wrapT = CLAMP_TO_EDGE
minFilter = LINEAR
magFilter = LINEAR
}
}
}
}
}