Files
wnmj-normal/cocos2d/tests/cpp-tests/Resources/Sprite3DTest/UVAnimation.material
2026-03-03 13:56:44 +08:00

32 lines
867 B
Plaintext

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