Browse Source

align img

mitm001 5 năm trước cách đây
mục cha
commit
71066be670
1 tập tin đã thay đổi với 4 bổ sung8 xóa
  1. 4 8
      docs/modules/ROOT/pages/jme3/advanced/terrain.adoc

+ 4 - 8
docs/modules/ROOT/pages/jme3/advanced/terrain.adoc

@@ -79,27 +79,23 @@ The default material for TerraMonkey is TerrainLighting.j3md. This material comb
 We recommend to <<sdk/terrain_editor#,create and edit Splat Textures for terrains visually in the jMonkeyEngine SDK>>, and not do it manually. If you are simply curious about how the SDK's terrain texture plugin works, or if you indeed want to generate materials manually, then read on for the implementation details.
 ====
 
-[.left]
 .road.jpg
-image::tutorials:beginner/road.jpg[road.jpg,width="",height=""]
+image::tutorials:beginner/road.jpg[road.jpg,width="",height="",align="left"]
 
 The Diffuse Map of one of the terrain textures depicts the colors of a paved surface.
 
-[.left]
 .road_normal.png
-image::tutorials:beginner/road_normal.png[road_normal.png,width="",height=""]
+image::tutorials:beginner/road_normal.png[road_normal.png,width="",height="",align="left"]
 
 The Normal Map of one of the terrain textures depicts the bumpiness of a paved surface.
 
-[.left]
 .mountains512.png
-image::tutorials:beginner/mountains512.png[mountains512.png,width="128",height="128"]
+image::tutorials:beginner/mountains512.png[mountains512.png,width="128",height="128",align="left"]
 
 A heightmap encodes the topological highs and lows of the terrain.
 
-[.left]
 .alphamap.png
-image:tutorials:beginner/alphamap.png[alphamap.png,width="128",height="128",align="right"]
+image:tutorials:beginner/alphamap.png[alphamap.png,width="128",height="128",align="left"]
 
 An alpha map can describe where 4 textures are painted onto the terrain.