1 registered members (AndrewAMD),
1,244
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Newbe to shaders,, need help bad
#62541
01/21/06 13:11
01/21/06 13:11
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
Hi folks,
I've been struggling with water effects, and found out that i might be able to use shaders to make great looking water. But I'm a total newb, so could anyone explain to me, or point me to a tutorial, on how to add shaders to my wdl's? i'm probably gonna need a step by step explanation, because it all looks very difficult.
Thanks
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Newbe to shaders,, need help bad
[Re: SiriusCG]
#62543
01/21/06 15:50
01/21/06 15:50
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
Thanks for the info, It's just that I've done so much of the other parts of my game, and I want to add some flare (shaders). But evertime I get into studying about shaders, I start to get scared, and reach for a bottle.... j/k
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Newbe to shaders,, need help bad
[Re: oldschoolj]
#62544
01/21/06 16:15
01/21/06 16:15
|
Joined: Jan 2006
Posts: 53
SiriusCG
Junior Member
|
Junior Member
Joined: Jan 2006
Posts: 53
|
Yeah, I know how you feel... But then again, shaders seem to be the future. But seriously, once you get your head wrapped around how shaders work, it's not all that bad. The program structure doesn't change that much and you'll only need to learn HLSL, the shader language for DirectX as that's what 3DGS uses for the rendering API. Here's a possible start: http://www.directx.com/shader/index.htmand a very good FREE shader programming IDE: http://www.ati.com/developer/rendermonkey/ You may wish to take a moment and read through the Render Monkey site as there is a TON of useful shader related information (along with the usual propaganda and noise...) A couple of cavaets: Render Monkey requires DX 9.0c and a capable video card. If you have an older video card, some of the examples will still work, but the more advanced ones will not and the program will let you know. Cheers and good luck!
Last edited by SiriusCG; 01/21/06 17:17.
|
|
|
Re: Newbe to shaders,, need help bad
[Re: SiriusCG]
#62545
01/22/06 05:17
01/22/06 05:17
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
Hey thanks bro, I'm gonna go check out those links, and btw, good luck with your gaming projects. I'll make sure to send you a beta of my game. One thing I've gotta know first though before dedicating my time to shaders. Approximately how long does it take for the average person to gain a working understanding of shader programming? I'm on a very tight schedule. I probably couldn't spend more than 10-20 hours on learning the process. (Work/School/Sleeping)... I want this game done before I'm 50, heh. Cheers, Jesse Koscik
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Newbe to shaders,, need help bad
[Re: Matt_Aufderheide]
#62547
01/22/06 06:30
01/22/06 06:30
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
Hey Matt. Thanks for the input, btw I checked out your program, it's beautiful. You must have put alot of hard work into it. Still, I think I'm gonna learn shaders. Here's why, I'm a major geek (mathmatically endowed), so it's not the math that bothers me, i's the language thats foreign to me. Also, as an aspiring game designer, it's always best to have your "ducks in a row", you dig? Again, great job with sphere, P.S I'd be interested in seeing any game demo's you have out, got any links?
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Newbe to shaders,, need help bad
[Re: SiriusCG]
#62548
01/23/06 13:45
01/23/06 13:45
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
OP
Senior Member
|
OP
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
Hi folks, maybe you could help me. Every time I add a shader script no matter how small or big, it gives me the same error message (example from ati's fur) message: Flag unknown tangent < effect " matrix matWorldViewProj; matrix matWorld; matrix matWorldV> Keyword unkown Mat_Fur effect Anyone have suggestions? I thought I'd covered al my bases, like I know I have support for shaders, it's in the right format. I must be missing something simple... Thanks for the help folks, Cheer, Jesse
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: Newbe to shaders,, need help bad
[Re: ello]
#62550
01/23/06 23:26
01/23/06 23:26
|
Joined: Mar 2002
Posts: 221 USA
zefor
Member
|
Member
Joined: Mar 2002
Posts: 221
USA
|
I just converted that code using the code that M3PHiSTOPH3L3S posted last year. I just converted it to dx9. You can reference it here: http://www.coniserver.net/ubbthreads/sho...e=0&fpart=5Referencing other shaders is helping me to learn.
|
|
|
|