Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Grant, dr_panther, AndrewAMD), 1,379 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Terrain dont get lit by static light #255699
03/11/09 23:30
03/11/09 23:30
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
Hi,

I have a terrain (.hmp) in my level and a (big enough) static light but when I compile the level my terrain is dark. Hm, changing the light to dynamic and compiling again -> hey that's what I wanted, my terrain is lit. But I want the light to be static and not dynamic - at least I thought (and I have the Extra-Edition) that's what's WED mainly for????

EDIT: The funny thing is, when I put a mesh (f.e. a cube) in the scene this cube gets light from the static light source but the whole terrain below it (and again, the light source is big and high enough) just hasn't any sign of light?!?

Cheers
Chrisu

Last edited by Chrisu; 03/12/09 09:46.
Re: Terrain dont get lit by static light [Re: Chrisu] #255733
03/12/09 09:52
03/12/09 09:52
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
You canīt create static shadows on Terrains. You must create a lightmap for the terrain or use a shadow shader.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Terrain dont get lit by static light [Re: WretchedSid] #255748
03/12/09 11:08
03/12/09 11:08
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
Thx for the reply and ... hm, I guess that's the reason for my unlit terrain ;-)

Well, when I have a light map what do I have to do with it to have it mixed up with the terrain? Sorry for that seriously dumb question 8-(

Re: Terrain dont get lit by static light [Re: Chrisu] #256602
03/17/09 18:13
03/17/09 18:13
Joined: Jul 2007
Posts: 31
D
Dazz Offline
Newbie
Dazz  Offline
Newbie
D

Joined: Jul 2007
Posts: 31
Just wait for the A7.77 update. It's rumored to have a static shadow generator for heightmaps... wink

Re: Terrain dont get lit by static light [Re: Dazz] #256611
03/17/09 18:27
03/17/09 18:27
Joined: Mar 2007
Posts: 34
Osasco
xandeck Offline
Newbie
xandeck  Offline
Newbie

Joined: Mar 2007
Posts: 34
Osasco
It is true. I'm also waiting for A7.77 just because of this. I'm not good making a good terrain with blocks (like a field) so I use another program, but I cant have static shadows either.

But, unfortunatelly, I think it will take long.


XandeCK
Lead Developer
JogadorVIP.com
Re: Terrain dont get lit by static light [Re: xandeck] #256680
03/18/09 10:18
03/18/09 10:18
Joined: Apr 2008
Posts: 31
C
Chrisu Offline OP
Newbie
Chrisu  Offline OP
Newbie
C

Joined: Apr 2008
Posts: 31
Thx for the info.
Btw., as a "solution" to my problem I found out that using one dynamic light source is ...
* not slow
* very good grfx-effect
* can be used for wandering sun
* funny but true, many texture-flickerings are suddenly gone
* ...
So therefore using one dynamic light is what I needed - I just didn't know ;-)


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