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
1 registered members (TipmyPip), 18,619 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
simple bumpmapping #289379
09/12/09 13:20
09/12/09 13:20
Joined: Apr 2009
Posts: 138
Germany
T
Toryno Offline OP
Member
Toryno  Offline OP
Member
T

Joined: Apr 2009
Posts: 138
Germany
I want to use the bump.fx from the code folder of gamestudio. I have commercial edition and the code below. But when I change any of the values, diffuse, specular, ambient or emissive, I don't see any different. I don't see any bumpmapping, too. The model still looks like without shader. The model in med has a normal map as skin2 created with the normalmap generator v1.3 which can be found in the downloadpage from this website.
Please tell me what can I do?

Code:
MATERIAL* skin_firewheel=
{
	diffuse_red = 255;
	diffuse_green = 255;
	diffuse_blue = 255;
	
	ambient_red = 255;
	ambient_green = 255;
	ambient_blue = 255;
	
	specular_red = 200;
	specular_green = 200;
	specular_blue = 200;
	
	emissive_red = 0;
	emissive_green = 0;
	emissive_blue = 0;
	
	power = 5;
	
	effect = "bump.fx";
}

action firewheel() {
	...
	my.material = skin_firewheel;
	...
}

function main () {
	...
	vec_set(sun_color, vector(160,160,160));
	sun_angle.pan = 60;
	sun_angle.tilt = 90;
	sun_light = 100;
	...
}




Thanks for reading, thinking, answering wink
Re: simple bumpmapping [Re: Toryno] #289838
09/15/09 20:12
09/15/09 20:12
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Did you assign the the action firewheel to the model?


Always learn from history, to be sure you make the same mistakes again...
Re: simple bumpmapping [Re: Uhrwerk] #290110
09/17/09 12:49
09/17/09 12:49
Joined: Apr 2009
Posts: 138
Germany
T
Toryno Offline OP
Member
Toryno  Offline OP
Member
T

Joined: Apr 2009
Posts: 138
Germany
Yes, sure. ^^


Thanks for reading, thinking, answering wink

Moderated by  Blink, Hummel, Superku 

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