High quality DoF and cubemap reflections?

Posted By: Superku

High quality DoF and cubemap reflections? - 08/12/15 16:21

Does anyone have a (super) high quality depth of field shader and optionally a real time cubemap reflections code?
The performance doesn't really matter. Would be great, thanks!
Posted By: MasterQ32

Re: High quality DoF and cubemap reflections? - 08/12/15 16:22

For realtime cubemap reflections, just use 6 Views with 90° arc that render to the fitting positions in the cubemap. then do some simple reflect() math in the shader and use the cubemap wink
Posted By: Superku

Re: High quality DoF and cubemap reflections? - 08/12/15 16:23

Yeah I know, just want to save time. (^.^) EDIT: Got it running now.
Posted By: HeelX

Re: High quality DoF and cubemap reflections? - 08/12/15 20:25

I found on my hard drive cubemap reflections:

DEM.zip
Posted By: Kartoffel

Re: High quality DoF and cubemap reflections? - 08/18/15 09:23

about the dof..

I once made one that uses hummel's implementation of (I think DICE's) hexagonal bokeh blur:
http://media.indiedb.com/images/games/1/23/22844/shot_28.6.2014_11196.png

It has some artifacts and is built into a whole rendering pipeline, though.
Which basically means I'd have to do some coding.

It's not super high quality but maybe good enough.

Also, it's meant to be used with true hdrr... But there are some workarounds using gamma correction to force that bokeh effect.

May I ask what you're trying to do with it? grin
Posted By: Superku

Re: High quality DoF and cubemap reflections? - 09/03/15 00:13

Thank you and sorry for the delayed response!
That DoF looks pretty neat, I like it!
I was planning to use it for the Greenlight trailer for my game but I still have some other ideas and situations where a nice DoF effect could come in handy. I think I could do it myself but I guess it takes a while to get it all working correctly and look nice, so any code (basis) would be appreciated!
Posted By: HeelX

Re: High quality DoF and cubemap reflections? - 09/04/15 21:35

Originally Posted By: Kartoffel
I once made one that uses hummel's implementation of (I think DICE's) hexagonal bokeh blur


Wuuuuuhh.. I would fell for it! smile I would also really appreciate any kind of (source) demo to hook it up into my game! grin
Posted By: Kartoffel

Re: High quality DoF and cubemap reflections? - 09/05/15 10:50

I'll try to make some kind of standalone demo, but note that the dof effect will not work properly on transparent objects / particles.
Posted By: LawnmowerMan

Re: High quality DoF and cubemap reflections? - 09/29/15 20:43

Originally Posted By: Kartoffel
I'll try to make some kind of standalone demo, but note that the dof effect will not work properly on transparent objects / particles.

Is there any news about this demo/soruce? That screenshot looks great.
© 2024 lite-C Forums