====== Multitexturing ====== It is possible to affect several textures to one single shape file (hence one volume). These textures will be selected through an attribute in the datasheets. In Ryzom Core's example server, the //_creature_texture_equipment.typ// allows to define variants for the creatures and the //item_map.typ// does the same for the objects. \\ Principle is very easy: the .shape includes a numbered list, which is to be applied according to the number called by the Datasheet depending on the links created in these type files. ===== Giving several textures to an object ===== First, let's follow the actions explained in [[creation_d_un_objet_prehensible_en_jeu?&#applying_the_nel_material|the creation of a held object]] for the base texture. \\ In part 2.1, just don't choose "Bitmap" in the map choice, but "Nel Multi Bitmap" {{ fr:multi_texture_01.jpeg?direct&300 |}} Then enter the first texture file (the one that will also get the ID 1 below) in the "Bitmap Parameters" {{ fr:multi_texture_02.jpeg?direct&300 |}} then enter all the other texture files that you want to link. It can be local animal species, a variety of different finishes for a same outfit... {{ fr:multi_texture_03.jpeg?direct&300 |}} There you go. A superbe Multitextured material (with [[texture_avec_speculaire|a specular effect]] for free in this example). {{ fr:multi_texture_04.jpeg?direct&300 |}} {{tag>3D Textures Datasheet}}