Getting world normal in fragment shader

http://hub.jmonkeyengine.org/javadoc/com/jme3/shader/UniformBinding.html

You will have to add it to your j3md file so that it’s set but the NormalMatrixInverse may give you what you want… though it may also take it straight to model space (likely).

Since you have to modify the shader anyway, your best bet might be to set a world space normal varying in the vertex shader and then just access that from the .frag. Probably with the world matrix and then remove the translation.