Ocean Shader

Base belongs to me.
Staff Member
Joined
Nov 30, 2002
Messages
10,739
Best answers
0
Source: http://esforces.com/news/55/51/Ocean-Shader.html

For the past few weeks Ryokeen has been hard at work adding and optimizing shaders for ESF. One of the latest additions is a wave generator. The new shader gives ESF environment artists the option to add ocean like water to maps.

During initial tests the ocean shader has shown a performance increase over the older "flat" water shader. The system uses a grid of approximately 50K polygons to generate the waves. This can be reduced to meet the performance requirements of lower-end machines. Also, the system implements a level of detail system that increases the amount of detail a player sees the closer they get to the water.

<object width="560" height="315"><param name="movie" value="http://www.youtube.com/v/VrQr_iPyPiw?version=3&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VrQr_iPyPiw?version=3&amp;hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

<a href="http://esforces.com/uploads/images/news/03-18-2012/OceanShaderFPS.jpg" target="new"><img src="http://esforces.com/uploads/images/news/03-18-2012/OceanShaderFPS-sm.jpg" width="750"></a>​
 
Last edited:
Dudemeister
★ Black Lounger ★
💻 Oldtimer
Joined
Jan 16, 2007
Messages
1,672
Best answers
0
Oh, wow. Beautiful!
 
Proud owner of Half-Life
Joined
Feb 12, 2010
Messages
403
Best answers
0
It's spectacular ! Anyway I'm interested in which hardware configuration is this 60 FPS?
 
Proud owner of Half-Life
Joined
Sep 3, 2010
Messages
5
Best answers
0
I still can't get over how far you all have come with this mod. The mere fact that it's on original Half-Life's engine just proves how much skill you all have developed over the years. Keep up the good work. I've been a long time esf fan. Since the Alpha days. So seeing this progress just makes me want to scratch that "I WANT TO PLAY THE NEW ESF" itch. If given the opportunity I would pay a substantial amount of money to you guys just due to the fact that I wouldn't feel right getting this full blown game for freezies upon release. You all would deserve it. That's for damn sure. :yes:
 
New Member
Joined
Mar 11, 2012
Messages
37
Best answers
0
I just have one question, will the water rise or splash, when u fly near it ? would be a cool feature :)
 
Judge. Jury. Executioner
👮 Moderator
★ Black Lounger ★
💻 Oldtimer
Joined
Aug 26, 2010
Messages
2,241
Best answers
1
That is just beautiful. Shaders an' all. ^_^
 
Force Pit Member
Joined
Oct 16, 2006
Messages
379
Best answers
0
Yeah definatly cool, how did you include depth in shaders ?
 
Only go forward sideways
Joined
Apr 24, 2010
Messages
481
Best answers
0
Truly a work of art if I ever saw one...
 
Proud owner of Half-Life
Joined
Jul 5, 2006
Messages
469
Best answers
0
This looks nice indeed but what mickyg said is kinda making me wonder if you guys are doing
water with physics or just sprites? i mean rising water is hard to do with sprites i guess.

a bit more and there could be a comparison screenie between esf and crysis water >=)
 
Freelance Mappzor
💻 Oldtimer
Joined
Nov 21, 2003
Messages
17,065
Best answers
0
Sprites. Water physics on the scale of an ocean as its used in ESF would pretty much kill any GPU.

The waves are still fully 3D though.
 
Stalwart Assassin
Joined
Mar 30, 2003
Messages
161
Best answers
0
That looks fantastic! You guys never cease to amaze me with the incredible things that you have done with the HL1 engine. As always, keep up the great work!:yes:
 
FP Wannabe
Joined
Jan 16, 2011
Messages
186
Best answers
0
And here I thought you couldn't improve what was perfect...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top