I recently made simpleRefraction postprocessor (based on simpleWater postProcessor). But i think that postFilter is more advanced for such an effect.
I’m trying to convert my postProcessor to postFilter. But the filter is applied to entire scene (not separete objects). Can you help me to convert the processor to filter correctly? Thanks a lot!!!
@nehon said:
Why did you go the filter way if you don't want to apply it to the whole screen?
Looks like it works fine with a SceneProcessor.
If you want to apply it to only some objects you'll have to render a black and white mask of some sort or use the stencil buffer maybe...
But it's gonna be a lot more complicated and may not be faster.
What bothers you with the sceneProcessor approach?
I just thought that filter is more advanced. Then i'll live everything as it is. Thanks for the reply!