Pārlūkot izejas kodu

Merge pull request #90 from ia97lies/patch-1

Changed SolidColor.j3md to Unshaded.j3md in Bloom and Glow doc.
Ali-RS 7 gadi atpakaļ
vecāks
revīzija
952036f34c
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/docs/asciidoc/jme3/advanced/bloom_and_glow.adoc

+ 2 - 2
src/docs/asciidoc/jme3/advanced/bloom_and_glow.adoc

@@ -79,7 +79,7 @@ Here you can see the diffuse map of the tank, and the associated glow map that o
 image:jme3/advanced/tank_diffuse_ss.png[Tank diffuse map,width="",height=""]
 image:jme3/advanced/tank_glow_map_ss.png[Tank glow map,width="",height=""]
 
-Glow maps work with Lighting.j3md, Particles.j3md and SolidColor.j3md material definitions.
+Glow maps work with Lighting.j3md, Particles.j3md and Unshaded.j3md material definitions.
 The tank material looks like this : 
 
 [source]
@@ -142,7 +142,7 @@ In this case you'll need to use the glow color parameter.
 [source]
 ----
 
-    Material mat = new Material(getAssetManager(), "Common/MatDefs/Misc/SolidColor.j3md");
+    Material mat = new Material(getAssetManager(), "Common/MatDefs/Misc/Unshaded.j3md");
     mat.setColor("Color", ColorRGBA.Green);
     mat.setColor("GlowColor", ColorRGBA.Green);
     fpp=new FilterPostProcessor(assetManager);