|
@@ -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_diffuse_ss.png[Tank diffuse map,width="",height=""]
|
|
image:jme3/advanced/tank_glow_map_ss.png[Tank glow 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 :
|
|
The tank material looks like this :
|
|
|
|
|
|
[source]
|
|
[source]
|
|
@@ -142,7 +142,7 @@ In this case you'll need to use the glow color parameter.
|
|
[source]
|
|
[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("Color", ColorRGBA.Green);
|
|
mat.setColor("GlowColor", ColorRGBA.Green);
|
|
mat.setColor("GlowColor", ColorRGBA.Green);
|
|
fpp=new FilterPostProcessor(assetManager);
|
|
fpp=new FilterPostProcessor(assetManager);
|