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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 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
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 | 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