View Single Post
  #1  
Old 05-10-2018, 12:26 AM
saket saket is offline
Member
 
Join Date: Mar 2015
Posts: 20
post-processing effect to single object

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.
Reply With Quote