31
Support / Post-processing on a single world
« on: February 27, 2014, 12:57:35 am »
Hi,
I'm trying to make a neon light like effect on some polylines ONLY, using the mighty BloomGLProcessor class.
For this I've created a special world for polylines, which I draw first, then launch post-process, and finally draw my main world.
So basically this is how I'm rendering things :
The problem is that I don't get what I expected, the blur effect is not visible after drawing the main world.
Is there a solution ? Thanks in advance !
Here is my normal scene before trying anything stupid :
Without bloom par atreyu64, sur Flickr
Trying to make the bloom on polyline as explained above :
Polylines and World par atreyu64, sur Flickr
Displaying only the polyline world (with post-processing) :
Polylines only par atreyu64, sur Flickr
What I would like to get (made with Photoshop) :
What I Want par atreyu64, sur Flickr
I'm trying to make a neon light like effect on some polylines ONLY, using the mighty BloomGLProcessor class.
For this I've created a special world for polylines, which I draw first, then launch post-process, and finally draw my main world.
So basically this is how I'm rendering things :
Code: [Select]
// polylines first :
linesWorld.renderScene(fb);
linesWorld.draw(fb);
bloomProcessor.process();
// main scene :
world.renderScene(fb);
world.draw(fb);
The problem is that I don't get what I expected, the blur effect is not visible after drawing the main world.
Is there a solution ? Thanks in advance !
Here is my normal scene before trying anything stupid :
Without bloom par atreyu64, sur Flickr
Trying to make the bloom on polyline as explained above :
Polylines and World par atreyu64, sur Flickr
Displaying only the polyline world (with post-processing) :
Polylines only par atreyu64, sur Flickr
What I would like to get (made with Photoshop) :
What I Want par atreyu64, sur Flickr