Преглед изворни кода

Update how_to_use_materials.adoc

Cleaned up first list.
mitm001 пре 9 година
родитељ
комит
ff6e30a6fa
1 измењених фајлова са 4 додато и 5 уклоњено
  1. 4 5
      src/docs/asciidoc/jme3/intermediate/how_to_use_materials.adoc

+ 4 - 5
src/docs/asciidoc/jme3/intermediate/how_to_use_materials.adoc

@@ -80,14 +80,13 @@ Every Material must have at least Material Colors or Textures. Some optional mat
 
 To give an unshaded material a color:
 
-.  Specify the color property 
+*  Specify the color property 
 +
 [source,java]
 ----
 mat.setColor("Color", ColorRGBA.Blue); // with Unshaded.j3md
 ----
 
-
 To give an Phong-illuminated material a color:
 
 .  Activate material colors: 
@@ -96,7 +95,7 @@ To give an Phong-illuminated material a color:
 ----
 mat.setBoolean("UseMaterialColors",true); // with Lighting.j3md
 ----
-+
+
 .  Specify at least Diffuse and Ambient colors. Set both to the same color in the standard case. 
 +
 [source,java]
@@ -112,12 +111,12 @@ mat.setColor("Ambient", ColorRGBA.Blue ); // with Lighting.j3md
 To give an unshaded material a texture:
 
 *  Specify at least a ColorMap: 
-[source,java]
 +
+[source,java]
 ----
 mat.setTexture("ColorMap", assetManager.loadTexture("Textures/monkey.png")); // with Unshaded.j3md
 ----
-+
+
 
 To give a Phong-illuminated material a texture: