mitm001 il y a 5 ans
Parent
commit
ebe11a15cc

+ 5 - 5
docs/modules/tutorials/pages/intermediate/how_to_use_materials.adoc

@@ -10,15 +10,15 @@ A Geometry (mesh) is just the shape of the object. jMonkeyEngine cannot render a
 *  Each Material is based on a Material Definition file. +
 Examples of included Material Definitions: Lighting.j3md, Unshaded.j3md
 
-You want to make the most of your 3D models by specifying good looking material parameters. The developers must be in contact with the graphic designers regarding which of the xref:Root:jme3/advanced/materials_overview.adoc[Material properties] they intend to use in their 3D models. You must have an understanding what <<terminology.adoc#materials-textures,texture maps>> are, to be able to use texture-mapped materials.
+You want to make the most of your 3D models by specifying good looking material parameters. The developers must be in contact with the graphic designers regarding which of the xref:ROOT:jme3/advanced/materials_overview.adoc[Material properties] they intend to use in their 3D models. You must have an understanding what <<terminology.adoc#materials-textures,texture maps>> are, to be able to use texture-mapped materials.
 
 
 [IMPORTANT]
 ====
-Don't forget to add a xref:Root:jme3/advanced/light_and_shadow.adoc[Light Source] to the scene! All Materials (except "`Unshaded`" ones) are *invisible* without a light source.
+Don't forget to add a xref:ROOT:jme3/advanced/light_and_shadow.adoc[Light Source] to the scene! All Materials (except "`Unshaded`" ones) are *invisible* without a light source.
 ====
 
-If you want more advanced background info: You can learn more about xref:Root:jme3/advanced/material_definitions.adoc[Material Definitions] in general here. You can find the full list of Material Parameters in the xref:Root:jme3/advanced/materials_overview.adoc[Material Definitions Properties] overview. The following sections introduce you to the most commonly used cases. You typically initialize Material objects in the `simpleInitApp()` method, and configure them using the setters described here. Then load the Materials using `myGeometry.setMaterial(mat)`.
+If you want more advanced background info: You can learn more about xref:ROOT:jme3/advanced/material_definitions.adoc[Material Definitions] in general here. You can find the full list of Material Parameters in the xref:ROOT:jme3/advanced/materials_overview.adoc[Material Definitions Properties] overview. The following sections introduce you to the most commonly used cases. You typically initialize Material objects in the `simpleInitApp()` method, and configure them using the setters described here. Then load the Materials using `myGeometry.setMaterial(mat)`.
 
 
 
@@ -206,7 +206,7 @@ mat.setColor("Specular",ColorRGBA.Black);
 
 To activate glow:
 
-.  Add one xref:Root:jme3/advanced/bloom_and_glow.adoc[BloomFilter PostProcessor] in your simpleInitApp() method (only once, it is used by all glowing objects).
+.  Add one xref:ROOT:jme3/advanced/bloom_and_glow.adoc[BloomFilter PostProcessor] in your simpleInitApp() method (only once, it is used by all glowing objects).
 +
 [source,java]
 ----
@@ -241,7 +241,7 @@ To deactivate glow:
 mat.setColor("GlowColor", ColorRGBA.Black);
 ----
 
-Learn more about xref:Root:jme3/advanced/bloom_and_glow.adoc[Bloom and Glow].
+Learn more about xref:ROOT:jme3/advanced/bloom_and_glow.adoc[Bloom and Glow].