|
Level Shader?
#80832
07/09/06 09:52
07/09/06 09:52
|
Joined: May 2005
Posts: 20
Low
OP
Newbie
|
OP
Newbie
Joined: May 2005
Posts: 20
|
Hello, I'm quite new to scripting in 3dgs, and I would like to add a shader to my levels, like the stone texture in the background here: I am not interested in a model shader, I just want to make the textures of my levels look more 3d, and correspond with the lighting. I have searched the web on how to do this, and have found many 3dgs screenshots with it how I want, and a few codes, but I dont know how to make these codes work for me. Thanks for the help.
|
|
|
Re: Level Shader?
[Re: Low]
#80833
07/09/06 09:55
07/09/06 09:55
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Try a bumpmapping shader. Search the forums as I'm pretty sure you'll find it that way.
PS Very nice level!
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Level Shader?
[Re: Low]
#80835
07/09/06 10:02
07/09/06 10:02
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
A shader is generally applied through assigning a material to an entity: Code:
material bump_mapping_mat { ... effect = " // insert shader code here "; }
action add_bumpmap { ... my.material = bump_mapping_mat; ... }
I don't know shaders - they aren't explained much at all in the manual. It requires the commercial or professional edition to use shaders, however.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: Level Shader?
[Re: ulillillia]
#80836
07/09/06 12:07
07/09/06 12:07
|
Joined: Nov 2002
Posts: 2,148 Germany
Dima
Expert
|
Expert
Joined: Nov 2002
Posts: 2,148
Germany
|
What version of A6 Pro do you have? In WED -> HELP -> ABOUT WED
I'm not afraid of competition cos I'm know that I'm best
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|