Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / FX shader help please : )

Author
Message
Chenak
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 3rd Aug 2003 04:30
Sorry if this is in the wrong posting area

ive got this FX shader that i want to apply to a 3d object, its a per pixel lighting shader (like the one in Doom3) and i have no idea how to get it to work. can anyone help please?

Heres the shader:



cheers
Once you start down the Dark Path, forever will it dominate your destiny...
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Aug 2003 06:29
lmao... wanna start off easy then eh?
it is all pretty simple - just setup the stream information as
float4 xyz || float4 (Tangent,0,0,0) || float4 (BiNormal,0,0,0) || float4 normal || float2 tex0

(although personally i'd use xyz_rhw)

just check through for each of the constants and registered area's
they should all line up exactly for all the information you need, so just make a note of what each one asks for.

simply plugin and play really - there isn't any fancey setup required
i'd help further but i'm about as away as a rug on valium, so perhaps later once i've had a nap

Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Aug 2003 23:32
just checked over the code and what dbp can do...
its gonna need some editing to be comptible - don't have all of the values we need to get it working.

see about tinkering when i have the time, see what i can't come up with... need to replace alot of things though with more standard stuff. would just be simpler to actually seperate it into the seperate asm's i mean like that its doing no one any favours.

Chenak
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 4th Aug 2003 03:08
cheers Raven . I may have some source files around somewhere that came with this shader, i could try n find n upload them if u think they could be of any use.

Once you start down the Dark Path, forever will it dominate your destiny...

Login to post a reply

Server time is: 2025-06-26 13:22:44
Your offset time is: 2025-06-26 13:22:44