Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Level Shader? #80832
07/09/06 09:52
07/09/06 09:52
Joined: May 2005
Posts: 20
L
Low Offline OP
Newbie
Low  Offline OP
Newbie
L

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 Offline
Senior Expert
ulillillia  Offline
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: ulillillia] #80834
07/09/06 09:59
07/09/06 09:59
Joined: May 2005
Posts: 20
L
Low Offline OP
Newbie
Low  Offline OP
Newbie
L

Joined: May 2005
Posts: 20
Thanks for the reply!

So its a bumpmapping shader I want then? When I search the forum I find lots of code and stuff for it, but I have no idea how to implement it into my level. The only shader tutorials I have found are for models, but not for levels.

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 Offline
Senior Expert
ulillillia  Offline
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 Offline
Expert
Dima  Offline
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
Re: Level Shader? [Re: Dima] #80837
07/09/06 16:32
07/09/06 16:32
Joined: May 2005
Posts: 20
L
Low Offline OP
Newbie
Low  Offline OP
Newbie
L

Joined: May 2005
Posts: 20
I don't have A6 pro, I have commericial - version 6.31

Re: Level Shader? [Re: Low] #80838
07/09/06 21:47
07/09/06 21:47
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
Go to au.conitec.net and search shadercollection from Matt Cole.
That's good start point for You.

Re: Level Shader? [Re: Low] #80839
07/09/06 22:04
07/09/06 22:04
Joined: Nov 2002
Posts: 2,148
Germany
Dima Offline
Expert
Dima  Offline
Expert

Joined: Nov 2002
Posts: 2,148
Germany
Quote:

I don't have A6 pro, I have commericial - version 6.31




Some hours ago you had pro, what should we think?


I'm not afraid of competition cos I'm know that I'm best

Gamestudio download | 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