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 (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 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
Page 2 of 2 1 2
Re: Change brightness of sky [Re: Uhrwerk] #423401
05/29/13 10:59
05/29/13 10:59
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hey guys, thanks! I worked with red, green, blue so far but for thunder strikes I want to color the skies entirely in white. Sadly, working with mtl_sky has absolutely no effect (Which is weired, mtl_terrain and mtl_model work as expected).

So I guess I'll have to add another sky layer to achieve lightning.

Re: Change brightness of sky [Re: PadMalcom] #423402
05/29/13 11:20
05/29/13 11:20
Joined: Aug 2002
Posts: 3,258
Mainz
oliver2s Offline
Expert
oliver2s  Offline
Expert

Joined: Aug 2002
Posts: 3,258
Mainz
mtl_sky(.emissive_...) affects the color of the sky only when red,green,blue is lower than 255. And the opposite way, red,green,blue only make changes when mtl_sky.emissive_... is lower than 255.

So it seems the light formular is simply mtl_sky.emissive_...+[sky].red/green/blue, with the maximum of 255 for sure.

The only (fast) way I see to make the sky completly white is to use a shader. Making a another sky layer is very framerate unfriendly.

Re: Change brightness of sky [Re: oliver2s] #423404
05/29/13 11:45
05/29/13 11:45
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
strange, I just tested, and I can set ambient and emissive for a sky cube by mat_sky, thus can achieve a totally white sky, without touching entity rgb.
only dome and cylinder are not affected by it.

Last edited by sivan; 05/29/13 11:48.

Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Change brightness of sky [Re: sivan] #423408
05/29/13 12:15
05/29/13 12:15
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
I didn't try emissive yet and will do now. Thanks for testing.

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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