Skip navigation
Currently Being Moderated

Pixel Bender 2.5D Shader - depth blur

Sep 11, 2011 8:27 AM

Hi.

 

Is it somehow possible, to write shader that works on the very top of the Stage3D and provides pixel information for the output like normal pixelbender, only with "pixel" depth? (so r,g,b,a and depth)

 

It would enable writing simple shaders for things like depth blur, bokeh etc...

 

Is this somehow possible now?

 
Replies
  • Currently Being Moderated
    Sep 21, 2011 3:11 PM   in reply to er453r

    We are limited to 4 channel images so you wouldn't be able to get r,g,b,a,depth into a single texture. In general though there's nothing to stop you writinga pixel bender 2D filter that then gets used as input to later stages.

     

    Bob

     
    |
    Mark as:
  • Currently Being Moderated
    May 10, 2012 11:59 AM   in reply to er453r

    I'm also interested in processing bitmap data with the gpu. Would you mind sharing your solution?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points