@ -47,8 +47,7 @@ public class JmePaletteFog implements ActiveEditorDrop {
privateStringcreateBody(){
Stringbody="/** Add fog to a scene */\nFilterPostProcessorfpp=newFilterPostProcessor(assetManager);\nFogFilterfog=newFogFilter();\nfog.setFogColor(newColorRGBA(0.9f,0.9f,0.9f,1.0f));\nfog.setFogDistance(155);\nfog.setFogDensity(2.0f);\nfpp.addFilter(fog);\nviewPort.addProcessor(fpp);
\n";
Stringbody=" /** Add fog to a scene */\n FilterPostProcessor fpp=new FilterPostProcessor(assetManager);\n FogFilter fog=new FogFilter();\n fog.setFogColor(new ColorRGBA(0.9f, 0.9f, 0.9f, 1.0f));\n fog.setFogDistance(155);\n fog.setFogDensity(2.0f);\n fpp.addFilter(fog);\n viewPort.addProcessor(fpp);\n";