Accessing Map Properties - Sun Ambient in script

Posted By: Locoweed

Accessing Map Properties - Sun Ambient in script - 11/16/08 15:56

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
Posted By: Slin

Re: Accessing Map Properties - Sun Ambient in script - 11/17/08 22:33

It is only used by the shadowmapper and not accessible from a shader or script.
Posted By: Locoweed

Re: Accessing Map Properties - Sun Ambient in script - 11/19/08 00:04

Alrighty, thx Slin.

Loco
© 2024 lite-C Forums