Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 396 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
High quality DoF and cubemap reflections? #453782
08/12/15 16:21
08/12/15 16:21
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline OP
Senior Expert
Superku  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
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!


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: High quality DoF and cubemap reflections? [Re: Superku] #453783
08/12/15 16:22
08/12/15 16:22
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
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


Visit my site: www.masterq32.de
Re: High quality DoF and cubemap reflections? [Re: MasterQ32] #453784
08/12/15 16:23
08/12/15 16:23
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline OP
Senior Expert
Superku  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Yeah I know, just want to save time. (^.^) EDIT: Got it running now.

Last edited by Superku; 08/12/15 18:08.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: High quality DoF and cubemap reflections? [Re: Superku] #453785
08/12/15 20:25
08/12/15 20:25
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
I found on my hard drive cubemap reflections:

DEM.zip

Re: High quality DoF and cubemap reflections? [Re: HeelX] #453891
08/18/15 09:23
08/18/15 09:23
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
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


POTATO-MAN saves the day! - Random
Re: High quality DoF and cubemap reflections? [Re: Kartoffel] #454271
09/03/15 00:13
09/03/15 00:13
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline OP
Senior Expert
Superku  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
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!


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: High quality DoF and cubemap reflections? [Re: Kartoffel] #454344
09/04/15 21:35
09/04/15 21:35
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
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

Re: High quality DoF and cubemap reflections? [Re: HeelX] #454353
09/05/15 10:50
09/05/15 10:50
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
I'll try to make some kind of standalone demo, but note that the dof effect will not work properly on transparent objects / particles.


POTATO-MAN saves the day! - Random
Re: High quality DoF and cubemap reflections? [Re: Kartoffel] #454932
09/29/15 20:43
09/29/15 20:43
Joined: Jun 2010
Posts: 71
L
LawnmowerMan Offline
Junior Member
LawnmowerMan  Offline
Junior Member
L

Joined: Jun 2010
Posts: 71
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.


Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1