are you sure you’re using the last nightly?
yea i downloaded it 3days ago from your here http://jmonkeyengine.com/nightly/
haaa i forgot say something that may be important. im using im usig same FilterPostProcessor to create fog anfd water.
my code:
[java]
private FilterPostProcessor fpp;
[/java]
fog method:
[java]
private void crearNiebla(){
/** Add fog to a scene */
//FilterPostProcessor fpp=new FilterPostProcessor(assetManager);
FogFilter fog=new FogFilter();
fog.setFogColor(new ColorRGBA(0.9f, 0.9f, 0.9f, 1.0f));
fog.setFogDistance(200);
fog.setFogDensity(1.5f);
fpp.addFilter(fog);
viewPort.addProcessor(fpp);
}
[/java]
water method:
[java]
private void cargarAgua2(){
Vector3f luzDir = new Vector3f(-0.37352666f, -0.50444174f, -0.7784704f);
fpp = new FilterPostProcessor(assetManager);
WaterFilter agua = new WaterFilter(terrain, luzDir);
agua.setWaterHeight(-5.2f);
agua.setUseFoam(false);
agua.setUseRipples(false);
agua.setDeepWaterColor(ColorRGBA.Brown);
agua.setWaterColor(ColorRGBA.Brown.mult(ColorRGBA.Green));
agua.setWaterTransparency(0.2f);
agua.setMaxAmplitude(0.3f);
agua.setWaveScale(0.008f);
agua.setSpeed(.03f);
agua.setShoreHardness(1.0f);
agua.setRefractionConstant(0.2f);
agua.setShininess(0.3f);
agua.setSunScale(1.0f);
agua.setColorExtinction(new Vector3f(10.0f, 20.0f, 30.0f));
fpp.addFilter(agua);
viewPort.addProcessor(fpp);
}[/java]
ok this time i think it’s definitely fixed (the black artifact), wait for the next nightly.
For the reflection/refraction issue of your character…it’s kind of a limitation of the current implementation… Fixing it would slow down the filter a lot.