Просмотр исходного кода

Update hello_material.adoc

Floated text to the left of images.
mitm001 9 лет назад
Родитель
Сommit
648ff44db9
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      src/docs/asciidoc/jme3/beginner/hello_material.adoc

+ 5 - 3
src/docs/asciidoc/jme3/beginner/hello_material.adoc

@@ -156,7 +156,7 @@ For a partially translucent/transparent texture, you need:
 
 *  A Texture with alpha channel
 *  A Texture with blend mode of `BlendMode.Alpha`
-*  A Geometry in the `Bucket.Transparent` render bucket.  +
+*  A Geometry in the `Bucket.Transparent` render bucket. +
 This bucket ensures that the transparent object is drawn on top of objects behind it, and they show up correctly under the transparent parts. 
 
 [source,java]
@@ -242,7 +242,8 @@ Let's have a look at the part of the code example where you create the shiny bum
 
 ..  Set a standard rocky texture in the `DiffuseMap` layer. 
 +
-image::https://github.com/jMonkeyEngine/jmonkeyengine/raw/445f7ed010199d30c484fe75bacef4b87f2eb38e/jme3-testdata/src/main/resources/Textures/Terrain/Pond/Pond.jpg[Pond.jpg,64,64,align="right"]
+[.right]
+image::https://github.com/jMonkeyEngine/jmonkeyengine/raw/445f7ed010199d30c484fe75bacef4b87f2eb38e/jme3-testdata/src/main/resources/Textures/Terrain/Pond/Pond.jpg[Pond.jpg,64,64]
 +
 [source,java]
 ----
@@ -254,7 +255,8 @@ image::https://github.com/jMonkeyEngine/jmonkeyengine/raw/445f7ed010199d30c484fe
 
 ..  Set the `NormalMap` layer that contains the bumpiness. The NormalMap was generated for this particular DiffuseMap with a special tool (e.g. Blender). 
 +
-image::https://github.com/jMonkeyEngine/jmonkeyengine/raw/445f7ed010199d30c484fe75bacef4b87f2eb38e/jme3-testdata/src/main/resources/Textures/Terrain/Pond/Pond_normal.png[Pond_normal.png,64,64,align="right"] 
+[.right]
+image::https://github.com/jMonkeyEngine/jmonkeyengine/raw/445f7ed010199d30c484fe75bacef4b87f2eb38e/jme3-testdata/src/main/resources/Textures/Terrain/Pond/Pond_normal.png[Pond_normal.png,64,64] 
 +
 [source,java]
 ----