1 registered members (TipmyPip),
18,574
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
How to attach different materials..?
#31020
07/23/04 09:54
07/23/04 09:54
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
I was wondering how to assign different materials to a model.. Like the image bellow.. i just want it to have a shader environment reflection on the middle shape .. is this done with alpha channel?? i have tryed it already but seems to don't work... .. Can someone tell me how can i do that... and if possible write a simple script?? Thanx... sorry english
|
|
|
Re: How to attach different materials..?
[Re: MMike]
#31021
07/24/04 00:07
07/24/04 00:07
|
Joined: Jul 2004
Posts: 23 Houston, Tx
Digifuse
Newbie
|
Newbie
Joined: Jul 2004
Posts: 23
Houston, Tx
|
I'm looking to do the same. To take it a step further I'd like to be able to cycle alpha maps at runtime. Is there a way to point to a variable in a .wdl from the .fx file so I can assign the alpha cycle to a button? So all in all there would be 3 images; material, alpha map and the cubic environment map.
To expand it even further, could you have an environment map and texture map for each alpha seperation? So the layout would be
alpha ---> texture 1 <split> texture 2 | ---------> environment map1 <split> environment map2
Basically, I want to be able to take a model and apply a basic texture to it. Then the player can cycle through different patterns or logos and apply them to the model via the alpha maps. Also, the player would be able to change the RGB values for only one of the alpha splits. Thinking in black and white, the white part of the mask can change the materials color.
I'm not looking for a full written shader. If someone could just point me in the right direction or give me something to work off of that would be fantastic. I hope I made everything as clear as possible. Any help would be greatly appreciated, thanks!
-Digifuse-
|
|
|
Re: How to attach different materials..?
[Re: Digifuse]
#31022
07/24/04 10:25
07/24/04 10:25
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
What i want to do is a knife! which the metal part reflect the environment... and the rest (non metal) not!!!
Just that..
I have the knife skin, and the 2nd skin is a grayscale pic where the metal part is poited to the white part of the 2nd skin..
I have the cubic environment shader script i just want to know where the alpha map is used!! where i put it.. and how to control it like 100% or 0% ... Cause only the metal reflect environment..
PLease help me!
Last edited by Unknot; 07/24/04 14:41.
|
|
|
Re: How to attach different materials..?
[Re: MMike]
#31029
07/26/04 12:48
07/26/04 12:48
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
Another thing i noticed..is if i point the player cam to the flare lens effect the shader become transparent by 50% !! and then if i turn the camera to the ground so to the lower part of the torus..the transparency is gone... Thats weird?? does it happen to other ppl??
My card is :
nVidea GForce 4 FX 5600 256Mb
Last edited by Unknot; 07/26/04 21:38.
|
|
|
|