axmol/tests/cpp-tests/Resources/Sprite3DTest/CubeMap.material

26 lines
693 B
Plaintext
Raw Normal View History

// A "Material" file can contain one or more materials
material CubeMap
{
technique normal
{
pass 0
{
shader
{
vertexShader = Sprite3DTest/cube_map.vert
fragmentShader = Sprite3DTest/cube_map.frag
// sampler:
// responsible for setting the texture and its parameters
// the Id of the sampler is the uniform name
sampler u_cubeTex
{
path = Sprite3DTest/skybox/left.jpg
wrapS = GL_CLAMP_TO_EDGE
wrapT = GL_CLAMP_TO_EDGE
}
}
}
}
}