Hi,
the TestPostFiltersCompositing is not working anymore (since 3.1?). I assume the problem is the missing alpha component which is not passed when the ColorOverlayFilter was applied. If I override the default texture pass format in the ColorOverlayFilter to RGBA8 it is working again:
@Override
protected Format getDefaultPassTextureFormat()
{
return Format.RGBA8; // instead of Format.RGB111110F
}
Before:
After:
So is it the right way to generally force the ColorOverlayFilter to override the method or to only override the format for the TestPostFilersComposting like this?:
...
guifpp.addFilter(new ColorOverlayFilter(ColorRGBA.Red)
{
@Override
protected Format getDefaultPassTextureFormat()
{
return Format.RGBA8;
}
});
...
I could create a PR to fix this bug.
regards
Alrik