History: -Material
Source of version: 7
Copy to clipboard
{INCLUDE(page="ogrelex ext tpl")/}
---
__Material__ - A material determines how the surface of a ((-mesh)) will appear after beeing rendered. You can e.g. assign ((-texture))s, set colours, enable lightning or ((-shadow))-recieving as well as assigning ((-shaders)).
Normally it's just visible from one side (e.g. surface of a ((-mesh))), but this can be changed (e.g. for ((-water)) surface). Material properties can be defined by material files or by source code.
!!See also
* [http://www.ogre3d.org/docs/api/html/classOgre_1_1Material.html|Ogre::Material Class Reference]
* ((-Texture|Texture))
* [http://www.ogre3d.org/docs/manual/manual_14.html#SEC23|Material Scripts] in Ogre Manual
* ((Materials|Collection of Ogre material templates))
* ((Displaying 2D Backgrounds))
* ((Line 3D)) / ((MOGRE Line 3D)) - includes some code how to create a material by code
* ((Projective Decals)) - dynamic texture projection on top of a terrain texture