Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Akow, degenerate_762), 1,430 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Terrain and sunlights #112949
02/21/07 10:26
02/21/07 10:26
Joined: Feb 2007
Posts: 25
São Paulo - Brasil
Vini Offline OP
Newbie
Vini  Offline OP
Newbie

Joined: Feb 2007
Posts: 25
São Paulo - Brasil
I´ve tried the multitexture shader that works with sunlight, AUM56, works fine but I can´t change the sunlight´s color. I changed the color of sunlight and ambient on WED but nothing happens, only models are affected by the changes...

anyone can help?


A6.60 Comercial A7.07 Comercial
Re: Terrain and sunlights [Re: Vini] #112950
02/21/07 18:36
02/21/07 18:36
Joined: Dec 2005
Posts: 414
Munich, Germany
R
Robotronic Offline
Senior Member
Robotronic  Offline
Senior Member
R

Joined: Dec 2005
Posts: 414
Munich, Germany
Hello!

The shader from AUM is sensitive to changes of the scripted sun_light.

There´s a difference between the scripted sun_light (which is basically a dynamic, directional) light and these "sun"-settings in WED.

Changes in WED Map properties do mostly affect levelgeometry and models (their ambient gets affected by the static lightmap).

The scripted sun_light affects parts of models (and also your terrain).

You can dynamically change the color of the scripted sun_light by setting the sun_color vector. This however will probably not affect this particular shader.

A multitexture shader, that is sensitive to both sun_light and sun_color can be found in the templates (mtlFX.wdl). But you can only use three tiled textures and the shadowmap must be integrated in the blue channel of the RGB colormap.

You could try and change the code from the AUM shader to make it sensitive for sun_color (which has to be changed by script then, not in WED). Maybe you´ll find some inspiration in the template shader. Or you can simply use this shader from the templates, instead of the one from AUM ...

Re: Terrain and sunlights [Re: Robotronic] #112951
02/21/07 19:32
02/21/07 19:32
Joined: Feb 2007
Posts: 25
São Paulo - Brasil
Vini Offline OP
Newbie
Vini  Offline OP
Newbie

Joined: Feb 2007
Posts: 25
São Paulo - Brasil
thanks!! I will try use the template shader and see how it works...


A6.60 Comercial A7.07 Comercial

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