Gamestudio Links
Zorro Links
Newest Posts
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
1 registered members (AbrahamR), 717 guests, and 4 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
Accessing Map Properties - Sun Ambient in script #236783
11/16/08 15:56
11/16/08 15:56
Joined: Oct 2002
Posts: 2,256
Oz
L
Locoweed Offline OP
Expert
Locoweed  Offline OP
Expert
L

Joined: Oct 2002
Posts: 2,256
Oz
Hi,

I am wanting to use the Sun Ambient vector from Wed (File-Map Properties-Sun-Ambient) in a shader. Is there a engine variable that accesses this value? All I see is sun_light, sun_color, and sun_pos.

Where is the sun_ambient variable? How can I access this value in a shader?

Thanks,
Loco


Professional A8.30
Spoils of War - East Coast Games
Re: Accessing Map Properties - Sun Ambient in script [Re: Locoweed] #237078
11/17/08 22:33
11/17/08 22:33
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
It is only used by the shadowmapper and not accessible from a shader or script.

Re: Accessing Map Properties - Sun Ambient in script [Re: Slin] #237215
11/19/08 00:04
11/19/08 00:04
Joined: Oct 2002
Posts: 2,256
Oz
L
Locoweed Offline OP
Expert
Locoweed  Offline OP
Expert
L

Joined: Oct 2002
Posts: 2,256
Oz
Alrighty, thx Slin.

Loco


Professional A8.30
Spoils of War - East Coast Games

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