Bläddra i källkod

Changed SolidColor.j3md to Unshaded.j3md

There is no Solidcolor.j3md and I tried it with Unshaded.j3md material and that works. Might be that in the past this was called Solidcolor maybe?!
ia97lies 7 år sedan
förälder
incheckning
e4a361a957
1 ändrade filer med 2 tillägg och 2 borttagningar
  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);