|
|
|
4 registered members (AndrewAMD, 3run, julienp, 1 invisible),
5,607
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: sending variables from c-script to fx file?
[Re: oronll]
#48181
06/21/05 12:53
06/21/05 12:53
|
Joined: Oct 2002
Posts: 8,939 planet.earth
ello
Senior Expert
|
Senior Expert
Joined: Oct 2002
Posts: 8,939
planet.earth
|
www.earthcontrol.dequoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
|
|
|
Re: sending variables from c-script to fx file?
[Re: ello]
#48182
06/21/05 13:06
06/21/05 13:06
|
Joined: Mar 2005
Posts: 123
oronll
OP
Member
|
OP
Member
Joined: Mar 2005
Posts: 123
|
Quote:
yes
haha not even a hint? I guess what i am asking is do they automatically reconize them or do you have to SEND them and how do you declare them in the shader?
i guess this " mtl_bump.skill1 = float(time); " is how you would send it .. but is TIME declared as say " float4 time " in the actual shader ?
Ive spent the past few weeks studying how to write pixel shaders .. Now i need to get the gist of adding them to the GS c-script .. first thing will be to get the lighting to match up ..
|
|
|
|
|
|
|