Hi,
I need to access the currently displayed pixels on screen within a fragment shader.
For which i found the access through vizard's post-processing at
http://docs.worldviz.com/vizard/postprocess_basics.htm using vizpp_InputTex. However it only refers to shader which are applied on whole screen.
How can I apply the the shader using postprocess to only specific objects?
Something like this :
effect = RedEffect()
object.apply(effect)
In which case only the object should have redeffect applied to it and rest of objects should have no effect.