water shaders

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
darkfox404
Posts: 26
Joined: Thu Mar 02, 2006 3:49 am

water shaders

Post by darkfox404 »

is it possible for me to go into the HL2 (half life 2) source code...
hunt down the water shaders effect...
and add it to irrlicht???
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

first you will need to buy the half life 2 source code. so no, you can't.
for a water shader, look in project anouncements under "OE Shader Library"
fyi, this isn't an advanced help question either.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
darkfox404
Posts: 26
Joined: Thu Mar 02, 2006 3:49 am

Post by darkfox404 »

the reason why i added the last 2 things under advanced is because i wasnt sure how the topic was going to (you answering with 2 sentences or this big Oo topic with all this codes and junk) but thanks for your help
(i do have the hl2 source code and just wanted to add that general look + the irrlicht water)
Xaron
Posts: 310
Joined: Sun Oct 16, 2005 7:39 am
Location: Germany
Contact:

Post by Xaron »

darkfox404 wrote:(i do have the hl2 source code...)
Well, you should not post that you have the hl2 source, as this is illegal.

The second point for me: I feel strange as a programmer if another programmer uses source code which was stolen...

Regards - Xaron
Toxic
Posts: 3
Joined: Mon Apr 10, 2006 1:56 pm

Post by Toxic »

Jep, that's true. Just yesterday i read, that "Big F" again is watching guys with that damn leaked hl² sourcecode!
Rambus
Posts: 96
Joined: Thu Nov 24, 2005 4:56 pm
Location: Canada
Contact:

Post by Rambus »

The source code is very readily available with a simple torrent or google search. That being said, Yes it would be 'possible' to hack in half lifes shaders. Though if you succeeded in emulating the half life two engine enough to work with its shader code, writing advanced shaders wouldent be much of a problem for you.

Long story short- No, if you dont have a few houndred hours to spare I doubt you will succeed.
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

go here http://www.shadertech.com/cgi-bin/shade ... =-1&page=0
and try to find the shader u want.
or check the watershader realeased in the ProjectForum.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Post Reply