Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, alibaba), 1,426 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lighting problem #95281
10/21/06 20:02
10/21/06 20:02
Joined: Jun 2006
Posts: 26
J
Jirby Offline OP
Newbie
Jirby  Offline OP
Newbie
J

Joined: Jun 2006
Posts: 26


how come the slug model i made isnt slightly darkened/reddish?
is there a way i can make it look more "real", no matter where any of my entities are in the world, they are BRIGHT, regardless of lights!!! The red light is the only lightsource.

Thanks :-)

EDIT: That barrel is lit up too, but its skin starts off dark brown, so it is uneffected also.

Last edited by Jirby; 10/21/06 20:03.
Re: Lighting problem [Re: Jirby] #95282
10/21/06 21:56
10/21/06 21:56
Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
slacer Offline
Expert
slacer  Offline
Expert

Joined: Jan 2004
Posts: 2,062
Hamburg, Germany
Make sure the entities origin are not intersecting solid blocks.

Re: Lighting problem [Re: slacer] #95283
10/22/06 01:29
10/22/06 01:29
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Not sure if you know this, but entities do not automatically become affected by a shader, you have to assign the same material effect to them through a function or action, unless you happen to know something I don't.

(Also, be sure to uncheck any 'unlit' flags)

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Lighting problem [Re: PHeMoX] #95284
10/22/06 03:33
10/22/06 03:33
Joined: Jun 2006
Posts: 26
J
Jirby Offline OP
Newbie
Jirby  Offline OP
Newbie
J

Joined: Jun 2006
Posts: 26
Thanks!!! Do you have an example/tutorial on applting shaders? the others ive seen confusefuse me x 6. lol

Thanks,
Jirby

Re: Lighting problem [Re: Jirby] #95285
10/23/06 11:34
10/23/06 11:34
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
If you know the material you are using for the shader, simply write a little action like this.

Code:

action shader
{
my.material= material_shader;
// replace material_shader with your shader material
}



You could also post your shader code and I can see if I can get it to work off course. Btw. usually the WIKI is a good place to look,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Lighting problem [Re: PHeMoX] #95286
10/24/06 01:49
10/24/06 01:49
Joined: Jun 2006
Posts: 26
J
Jirby Offline OP
Newbie
Jirby  Offline OP
Newbie
J

Joined: Jun 2006
Posts: 26
Uhm, thanks? ha. Im really new tro shaders. So how do i find my shader materials, and i Heard talk of an FX file? or something?
Thanks Again,
Jirby

Re: Lighting problem [Re: Jirby] #95287
10/24/06 15:23
10/24/06 15:23
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
What code exactly are you using? Could you post it? I might be able to help you out, but if you don't know if you're using an .fx file at all ... are you sure you're using shaders?

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Lighting problem [Re: PHeMoX] #95288
10/24/06 22:23
10/24/06 22:23
Joined: Jun 2006
Posts: 26
J
Jirby Offline OP
Newbie
Jirby  Offline OP
Newbie
J

Joined: Jun 2006
Posts: 26
Well, what i emant by my original post was, the entities were lit up, and not "darkened". Sorry, i assume you missunderstood me :-( . But they work now, but if possible (as i dont have one set up yet) is there a shader tutorial for making somehtign (slug things) look slimy, and one for making blocks in WED look metallic?

Thanks,
Jirby

Re: Lighting problem [Re: Jirby] #95289
10/28/06 11:30
10/28/06 11:30
Joined: Aug 2002
Posts: 375
Germany
Salva Offline
Senior Member
Salva  Offline
Senior Member

Joined: Aug 2002
Posts: 375
Germany
Hi!

Want you to see the models like this?
with the lighted side and the shadowed side?


Also I believe me but creed that we must wait for much still.

salva.

Re: Lighting problem [Re: Salva] #95290
10/30/06 01:32
10/30/06 01:32
Joined: Jun 2006
Posts: 26
J
Jirby Offline OP
Newbie
Jirby  Offline OP
Newbie
J

Joined: Jun 2006
Posts: 26
nevermind, i have the shaded side like your picture. but i want an easy shader tutorial for metal and things.

thanks


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