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 (TipmyPip, 1 invisible), 18,731 guests, and 7 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
a newbie question about lighting.. #250939
02/10/09 20:49
02/10/09 20:49
Joined: Nov 2008
Posts: 29
Philippines
ZeroEight Offline OP
Newbie
ZeroEight  Offline OP
Newbie

Joined: Nov 2008
Posts: 29
Philippines
how can i make my dynamic entities cast shadows from the light of wed?is it possible??i already tried shadow_stencil but my frame rates drops from 200+ to 20 below..

and can somebody pls brief me what is the difference between static and dynamic light?how can i make them?

tnx in advance..

Re: a newbie question about lighting.. [Re: ZeroEight] #250952
02/10/09 22:29
02/10/09 22:29
Joined: Aug 2005
Posts: 512
Bayern
Schmerzmittel Offline
User
Schmerzmittel  Offline
User

Joined: Aug 2005
Posts: 512
Bayern
Static lights are lights, that are renderd in the map compiler. The compiler creates a lightmap. This lightmap include all information abaout shadows, and lights in the level. But this only work on Levelblocks.

Dynamic lights are what the name say. The lights are createt at runtime and are renderd on the gpu. Only the parts, that the lights are penetrate(right word??) are lighten.


You can create static lights in WED. Just right click, choose add and choose light.

Dynamic lights are createt over a action.
Like:

action im_a_light()
{
my.lightrange = 100; //or whatever
my.red = 255;
my.green = 255;
my.blue = 255;
}


Attach this action to any model you want. When you run your level, then you should see a white light.

Hope this helps. For further informations, look at the manual. Search for dynamic light, or lights.


Greetings
Schmerzmittel


EDIT:
Shadows, at this time, are only possible with the stencil shadows. The shadows only react to the sunlight. Of course, theres a great shadowshader from slin. Look under the user constribution. Conitec will work on a shadowmapping shader. Also BoHavoc. Just wait. But dont plan it in your project, until its released.

Last edited by Schmerzmittel; 02/10/09 22:31.

A7 Com V7.80
Re: a newbie question about lighting.. [Re: Schmerzmittel] #251038
02/11/09 10:58
02/11/09 10:58
Joined: Nov 2008
Posts: 29
Philippines
ZeroEight Offline OP
Newbie
ZeroEight  Offline OP
Newbie

Joined: Nov 2008
Posts: 29
Philippines
thank you so much sir,this will surely help a lot..


Moderated by  HeelX, Spirit 

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