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

32 lines
883 B
Plaintext
Raw Normal View History

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