Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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 (SBGuy, AndrewAMD), 1,410 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lights,Shadows,Sun -dynamic #95196
10/20/06 19:52
10/20/06 19:52
Joined: Jul 2006
Posts: 69
P
piposlav Offline OP
Junior Member
piposlav  Offline OP
Junior Member
P

Joined: Jul 2006
Posts: 69
Can someone tell me how i must to set parameters in WED / in my script if i want to my models was being affected by all lights in level and sun.

Is some tutorial about dynamic lighting ,in general.I dont want any static lightmaps (i think is called stencil shadows)

p.s how i can set sun to night mode (because if i want to do some night scene i set sun - 0 elev. 0 pan and nothing will happened (my models are affected , no night in my level)

Re: Lights,Shadows,Sun -dynamic [Re: piposlav] #95197
10/20/06 22:44
10/20/06 22:44
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
In WED -> File -> Map properties and set values for sun, ambient, azimuth and elevation. If your level is made of block geometry or map entities and you set my.shadow=on flag on the player model, you will have on this moment z-buffer shadows running.

However, if you dont like z-buffer shadows considering its hard edges, you could just write on main function shadow_stencil = on; and you will have dynamic shadows with more quality, since the sun its a dynamic light too by default.

If you have .mdl entities under your player you really need to use just stencil shadows, because z-buffer shadows dont work on models.

Re: Lights,Shadows,Sun -dynamic [Re: demiGod] #95198
10/21/06 05:31
10/21/06 05:31
Joined: Jul 2006
Posts: 69
P
piposlav Offline OP
Junior Member
piposlav  Offline OP
Junior Member
P

Joined: Jul 2006
Posts: 69
OK,please can you write me parameters to deep night,because with my parameters is always a minimum light from sun.

Re: Lights,Shadows,Sun -dynamic [Re: piposlav] #95199
10/21/06 10:45
10/21/06 10:45
Joined: Mar 2006
Posts: 752
Portugal
demiGod Offline
User
demiGod  Offline
User

Joined: Mar 2006
Posts: 752
Portugal
http://www.loopix-project.com/ easy... Easy-Day-Night script.

Re: Lights,Shadows,Sun -dynamic [Re: demiGod] #95200
10/22/06 04:00
10/22/06 04:00
Joined: Aug 2005
Posts: 312
Sweden
tindust Offline
Senior Member
tindust  Offline
Senior Member

Joined: Aug 2005
Posts: 312
Sweden
In your main script insert

sun_light = 50;

You can experiment with the value to get the brightness you like.
Also, you can change some sun settings in the WED-->file-->map properties.

Hope this helps,
cheers, tindust


Lighten Your Load With

DynaLights 1.0

Realtime 3D Lighting. Free Trial Version available.

3DGS 660P

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