Is there a way to select which geometries have the CartoonEdgeFilter applied ? Alternatively, is there a way to disable the filter for some objects?
I’m using the jmeDayNight sky library by idflood which has quads textured with stars floating around arbitrarily in the sky. Obviously I don’t want to wrap an edge around these quads, as things get ugly quickly, as you can see:
http://i47.tinypic.com/mjbh2c.png
The library can be found here:
GitHub - idflood/jmeDayNight: A dynamig sky system for jme3 (jmonkey engine)
Any thoughts??
Seems like those quads are writing Z values and they probably shouldn’t be.
I’m pretty sure the cartoon filter is a post-processing step so it operates on the whole frame buffer post-render. No way to exclude specific objects.
@pspeed said:
Seems like those quads are writing Z values and they probably shouldn't be.
Rad - forgive my ignorance - I'm learning - is this a problem in the shader or the quad/geometry?
@samuelkillin said:
Rad - forgive my ignorance - I'm learning - is this a problem in the shader or the quad/geometry?
It can be set on the material of the Geometry... it's part of the additional render state.