Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, Ayumi, 1 invisible), 877 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Need help applying shaders to level geometry #407172
09/08/12 03:00
09/08/12 03:00
Joined: Jan 2012
Posts: 36
T
themuzikman Offline OP
Newbie
themuzikman  Offline OP
Newbie
T

Joined: Jan 2012
Posts: 36
Hello all,

first post in years. I used to be on here many years ago as "danthaman015" or "deftoolsys07" and other names, back in the A5/A6 days. It has been about 5 years ago since I touched 3DGamestudio and as a result I feel like I am starting all over again, even though I used to know all of the ins-and-outs of 3DGS.

I just bought A8 and want to start getting back into game designing, and very soon I will have some nice contributions.

To my question:

I am trying to apply a normal mapping shader on my level geometry. I have followed all steps but there is no normal map on the surface when I run the level as far as I can see. Models work just fine with the normal map material, however level geometry doesn't...

I have two textures in my WAD file, let's say tile1.bmp and tile1_n.bmp and I have them in the same WAD file. I apply the tile1.bmp texture to the walls and assign the mtl_Bump material to them from the mtlFX.c file...

What am I doing wrong??

I have A8 Commercial 8.30

Thank you very much in advance!

Last edited by themuzikman; 09/08/12 03:01.
Re: Need help applying shaders to level geometry [Re: themuzikman] #407174
09/08/12 03:18
09/08/12 03:18
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Are the walls in range of a dynamic light (except the sun)?
You can press F11 twice to check the effect of normal maps on level geometry.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Need help applying shaders to level geometry [Re: Superku] #407184
09/08/12 10:26
09/08/12 10:26
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
are you using external textures in a folder for your blocks or do you use a .wad file? If you are using a folder, then the normal map won't be detected and you'll need to use a .wad, at least from my experience


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Need help applying shaders to level geometry [Re: painkiller] #407195
09/08/12 21:58
09/08/12 21:58
Joined: Jan 2012
Posts: 36
T
themuzikman Offline OP
Newbie
themuzikman  Offline OP
Newbie
T

Joined: Jan 2012
Posts: 36
@Superku: When I do that, I can see the effects of the normal maps on the models, but the level geometry is just flat.

@painkiller: I'm using the textures in a Wad file... with the "_n" at the end of the normal map texture file name.. So in my WAD, let's say I have two textures in it, one is the regular texture, the other is the normal map. I applied the regular texture to the level geometry and set the mtl_Bump material on it. So it should apply the normal map automatically right?

Re: Need help applying shaders to level geometry [Re: themuzikman] #407198
09/09/12 00:44
09/09/12 00:44
Joined: Nov 2006
Posts: 59
Alberta, Canada
Dveyee Offline
Junior Member
Dveyee  Offline
Junior Member

Joined: Nov 2006
Posts: 59
Alberta, Canada
Sounds like you're doing it right. I've found that mtl_bump isn't an obvious difference all the time from using no shader at all. Perhaps check the normal map?

Otherwise, mtl_specBump gives a nice reflection which may be the effect you're looking for.


Accelerated Game Creation Tutorial - Learn how to use 3D Gamestudio's WED with these exciting video tutorials!

Visit our website at http://www.accgames.com.
Re: Need help applying shaders to level geometry [Re: Dveyee] #407227
09/09/12 20:33
09/09/12 20:33
Joined: Jan 2012
Posts: 36
T
themuzikman Offline OP
Newbie
themuzikman  Offline OP
Newbie
T

Joined: Jan 2012
Posts: 36
I appreciate the responses...

mtl_specBump does the same thing. (Or nothing, really)

Same with all of the other shaders. I've tried a bunch of different ones but none have any effect on the geometry at all... Very weird...

Re: Need help applying shaders to level geometry [Re: themuzikman] #407228
09/09/12 20:36
09/09/12 20:36
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Maybe you havent set the "shaded" flag on the blocks


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Need help applying shaders to level geometry [Re: alibaba] #407239
09/10/12 05:12
09/10/12 05:12
Joined: Jan 2012
Posts: 36
T
themuzikman Offline OP
Newbie
themuzikman  Offline OP
Newbie
T

Joined: Jan 2012
Posts: 36
Shaded is checked on all of the surfaces...

Re: Need help applying shaders to level geometry [Re: themuzikman] #407355
09/11/12 20:30
09/11/12 20:30
Joined: Jan 2012
Posts: 36
T
themuzikman Offline OP
Newbie
themuzikman  Offline OP
Newbie
T

Joined: Jan 2012
Posts: 36
Does anyone have a small level with some shaders on the level geometry that I can check out? Like a sample? Or if not can anyone make one real quick for me, just a hollow cube with some normal mapping on the walls. That way I can see if it works for me and play with it from there.

Thanks

Re: Need help applying shaders to level geometry [Re: themuzikman] #407361
09/11/12 22:11
09/11/12 22:11
Joined: Nov 2006
Posts: 59
Alberta, Canada
Dveyee Offline
Junior Member
Dveyee  Offline
Junior Member

Joined: Nov 2006
Posts: 59
Alberta, Canada
Could you share the images you are using? I might be able to take a look at it if I have time or perhaps someone else can look at it.


Accelerated Game Creation Tutorial - Learn how to use 3D Gamestudio's WED with these exciting video tutorials!

Visit our website at http://www.accgames.com.
Page 1 of 3 1 2 3

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1