Im having problems with a simple problem involving glow. I cant figure it out and it keeps bothering me. I cant seem to make 1 object glow. If I use the glow tutorial it makes everything glow and just the object of my choice. Can anyone help me out and tell me how I can make 1 object of my choice glow?
I used this:
FilterPostProcessor fpp=new FilterPostProcessor(assetManager);
BloomFilter bloom=new BloomFilter();
fpp.addFilter(bloom);
viewPort.addProcessor(fpp);
But this doesn’t specify which object I want glowing. Please help.
Thank you for sending me something I’ve read 100 times. I specifically said that I already read this in the tutorial and that I don’t understand how to make ONE object of my choice glow. If I follow this it make all of the object glow.
Then show us that code. Because the code you showed would make everything glow and is completely different than the last part of that tutorial that shows how to make one object glow.
We can’t read minds… only code. So when you show me an example from the wrong part of a tutorial then I wonder if we are even talking about the same tutorial.
At least in one point the tutorial is broken (and Paul’s image too):
There is no “SolidColor.j3md” anymore.
A couple of days ago I found that there are still some implementations on the web.
Does “Unshaded.j3md” replace “SolidColor.j3md” ? And if so, should we change the Wiki ? A test would be needed to confirm, that things still work as intended.
DAFAQ!!! I did that thing like 10 times and it didnt work it wasnt glowing and now it seems to work…
I literally had
boxMat.setColor(“Color”, ColorRGBA.Red);
boxMat.setColor(“GlowColor”, ColorRGBA.Red);
and then I started messing around trying different ways to do it…
Sorry guys its either Im stupid or my JMonkey was bugged for a while cos im pretty sure for some random reason it was making all of my objects glow even though I had only assigned the glow to one material.