6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood),
1,268
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Normal Mapping - need help
#39360
01/18/05 06:18
01/18/05 06:18
|
Joined: Nov 2004
Posts: 181 Germany, Saarland, Nohfelden
Locutus_of_Borg
OP
Member
|
OP
Member
Joined: Nov 2004
Posts: 181
Germany, Saarland, Nohfelden
|
Hi, I have a problem. I don't really get it with the normal mapping.... I want the Map react on static and dynamic light. But it won't react on both! I will now post my screens, code and fx file! GeForce FX 5900XT 3D GameStudio Comm A6.31 FX-File Code: bmap NORMALTEX = <floor1DOT3.tga>; material floor1 { skin1=NORMALTEX; flags=tangent; } starter load_fx { bmap_to_mipmap(floor1.skin1); effect_load(floor1,"bump_diffuse.fx"); } And all that for 5 textures! Now, how do I get the Textures look not so yellow and how do I get them realistic. I tried other fx-files with that code, but the textures are all black! Thanks for help!
|
|
|
Re: Normal Mapping - need help
[Re: Locutus_of_Borg]
#39361
01/18/05 06:32
01/18/05 06:32
|
Joined: May 2004
Posts: 157 Earth, for the moment
MASTERJUNOJET
Member
|
Member
Joined: May 2004
Posts: 157
Earth, for the moment
|
Ill take a stab at it, perhaps you forgot the action
Code:
action floor_lighting
{
my.material = floor1;
}
Just apply that to the floor, so the floor would have to be an entity or maybe a model. (Entity would work better in my opinion)
Hope this helps
Projects:
Jet Force Gemini 2
|
|
|
Re: Normal Mapping - need help
[Re: Locutus_of_Borg]
#39363
01/18/05 06:49
01/18/05 06:49
|
Joined: May 2004
Posts: 157 Earth, for the moment
MASTERJUNOJET
Member
|
Member
Joined: May 2004
Posts: 157
Earth, for the moment
|
Yeah its a shame that you can attach actions to blocks...however thats the only way to have it influenced by dynamic light. BTW, where did you get the FX file? Is it better that the ultimate lighting shader pack one? Because Im currently working with dynamic lights at this very moment in my project.
Projects:
Jet Force Gemini 2
|
|
|
|