|
Re: What are you working on?
[Re: Uhrwerk]
#416796
02/04/13 21:19
02/04/13 21:19
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
@Uhrwerk you mean the shader?
I can upload a little demo if you want.
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: Kartoffel]
#416797
02/04/13 21:30
02/04/13 21:30
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
I'd love to see it in motion! :-)
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: What are you working on?
[Re: Uhrwerk]
#416799
02/04/13 21:38
02/04/13 21:38
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Kartoffel did you finish the DoF shader yet? Just wanted to know since I wanted to create some screenies
Last edited by Ch40zzC0d3r; 02/04/13 21:39.
|
|
|
Re: What are you working on?
[Re: Uhrwerk]
#416800
02/04/13 21:40
02/04/13 21:40
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
here's a little demolevel with the water shader. The shader doesn't support skies, yet so the it renders incorrect if you look at the sky. But at least the depth and refraction renders correctly even if you're underwater In the demo you can move the camera with WASD, Space, Ctrl, Shift and change the waterheight with the mouse wheel. @Ch40zzC0d3r I'm sorry but I didn't finish it yet. It's a bit harder than I thought and I've got some problems making it work properly.
Last edited by Kartoffel; 02/04/13 21:44.
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: Kartoffel]
#416801
02/04/13 21:45
02/04/13 21:45
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Ah no problem! Nice watershader btw I hope you saw the screenie of mw3 I posted, they are just blurring the weapon or?
|
|
|
Re: What are you working on?
[Re: Ch40zzC0d3r]
#416802
02/04/13 21:53
02/04/13 21:53
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I hope you saw the screenie of mw3 I posted, they are just blurring the weapon or? well it's not the right thread to discuss this but yeah, I saw it and I don't really know what they do. But a DoF with customizable start and end points for the fading should do it.
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: Kartoffel]
#416804
02/04/13 22:05
02/04/13 22:05
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
Thanks for doing demo! :-) It looks pretty good. Unfortunately it renders pretty slow on my machine. I guess my GeForce 8800 GT isn't really up-to-date. I noticed there is a pixel seam around polygons before the water. It's pretty well noticeable when you look down though the arcs on the water surface. Are you aware of this?
Last edited by Uhrwerk; 02/04/13 22:52. Reason: The seam has gone away after a machine restart... O.o
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: What are you working on?
[Re: Uhrwerk]
#416807
02/04/13 22:35
02/04/13 22:35
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I guess you meant the refraction of objects above the water and the pixel noise it causes on its borders like on the left side of the pillar in this screenshot: (click to see in full resolution) It usually isn't possible to fully compensate this because the shader is just rendered in screenspace. ...but I was able to almost compensate it (right side of the image)
Last edited by Kartoffel; 02/04/13 22:44.
POTATO-MAN saves the day! - Random
|
|
|
Re: What are you working on?
[Re: Kartoffel]
#416843
02/05/13 11:52
02/05/13 11:52
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
@Kartoffel: how does the shader specify the surface? Is it just a heightvalue?
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
|