axmol/tests/cpp-tests/Content/MeshRendererTest/CubeMap.material

26 lines
705 B
Plaintext

// A "Material" file can contain one or more materials
material CubeMap
{
technique normal
{
pass 0
{
shader
{
vertexShader = MeshRendererTest/cube_map.vert
fragmentShader = MeshRendererTest/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 = MeshRendererTest/skybox/left.jpg
wrapS = GL_CLAMP_TO_EDGE
wrapT = GL_CLAMP_TO_EDGE
}
}
}
}
}