Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (3run, AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip), 605 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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 | 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