Glow in "how_to_use_materials"

http://www.hub.jmonkeyengine.org/wiki/doku.php/jme3:intermediate:how_to_use_materials#optional_glow



This tutorial says to setColor(“Glow”,ColorRGBA.White);

However, glow color is named differently than the other colors (diffuse, specular, etc).

This line in the tutorial needs to be setColor(“GlowColor”,ColorRGBA.White);

1 Like

Good find.

Remember, anyone can edit the wiki. I will give you internet points if you change it :).

(very top of the page in the gray header, says Wiki with a down arrow)

1 Like

Ah, I didn’t see a way to edit it, because I wasn’t logged in.



I noticed another error right below it:



mat.setFloat(“Glow”, ColorRGBA.Black);



Which is a bit more ridiculous.



I’m gonna correct that while I’m at it.

6 Likes

Cool, thanks @valentiinro!

Thanks for fixing, some things were still not updated from the alpha drafts.