Browse Source

Fixed formating of Example.

mitm001 8 years ago
parent
commit
9d94b36f3a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/docs/asciidoc/jme3/advanced/jme3_shaders.adoc

+ 4 - 1
src/docs/asciidoc/jme3/advanced/jme3_shaders.adoc

@@ -242,7 +242,10 @@ The uniforms will be populated at runtime with the value you sent.
 
 Color Keying is useful in games involving many players. It consists of adding some player-specific color on models textures. The easiest way of doing this is to use a keyMap which will contain the amount of color to add in its alpha channel. 
 
-Here I will use this color map: link:http://wstaw.org/m/2011/10/24/plasma-desktopxB2787.jpg[http://wstaw.org/m/2011/10/24/plasma-desktopxB2787.jpg] to blend color on this texture: link:http://wstaw.org/m/2011/10/24/plasma-desktopbq2787.jpg[http://wstaw.org/m/2011/10/24/plasma-desktopbq2787.jpg] 
+Here I will use this color map: +
+link:http://wstaw.org/m/2011/10/24/plasma-desktopxB2787.jpg[http://wstaw.org/m/2011/10/24/plasma-desktopxB2787.jpg] +
+to blend color on this texture: +
+link:http://wstaw.org/m/2011/10/24/plasma-desktopbq2787.jpg[http://wstaw.org/m/2011/10/24/plasma-desktopbq2787.jpg] 
 
 We need to pass 2 new parameters to the Lighting.j3md definition, MaterialParameters section: