|
|
Env_Map from Wiki , Help
#59015
11/14/05 23:53
11/14/05 23:53
|
Joined: Mar 2004
Posts: 155
MentalAbyss
OP
Member
|
OP
Member
Joined: Mar 2004
Posts: 155
|
Hey, I need some help setting up the env_mapping shader out of the wiki. I have been working with this for two days and have tried everything I know but still nothing useable has come from it. What I have is a coin. I want to control the reflections of the env-map with the alpha just like the information on the shader says you can do, but I’m not having any luck. What I get is a darkened overlay on my model. Her are some pics. No material on the coins. Env_mapp shader with a 50% alpha Env_mapp with 100% white alpha As you can see I’m not getting the desired effect, all I get as I change the alpah percentage is a draker coin and not a coin with an env_mapp Here is my env-mapp that I’m using And the texture and it's alpha Can anyone offer any pointers? I want the coins to reflect the env map as they turn about. Also, I am rotating them with the c_rotate command. Judging from the color that my coins are with full blown alpha it looks like the top section of the env_map is being used all over the coin. Is that possible? If so, what is causing it to do that instead of projecting the entire env map? All help is appreciated. Thanks edit**FYI: GeForce 6600**
Last edited by MentalAbyss; 11/15/05 00:11.
|
|
|
Re: Env_Map from Wiki , Help
[Re: Matt_Aufderheide]
#59018
11/16/05 11:50
11/16/05 11:50
|
Joined: Aug 2002
Posts: 96
AAM
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 96
|
If your seeking a metalic effect then the shader from Steempipe (WaterShader) would come in handy i used it , turn of the water effect by setting : float RippleScale = 0.28; To float RippleScale = 0.0; and: float cos_x=cos(vecSkill41); float sin_y = sin(vecSkill41); To float cos_x=1; float sin_y = 1;
didnt try it but i it should wright. and you can control the opacity by :
PixelShaderConstant[0] = {0.80,0.80,0.92,0.88};
the 0.88 is the alpha value . all what i mentioned are in the .fx file.
search for it.
& thanks Steempipe for a greate shader.
If You Treat a Persone As He Is He Will Be As He Is,
But If You Treat Him As He Should Be , He
Will Be As He Should Be ,And Can Be.
|
|
|
|