Changeing the "color" of the darkness?
Changeing the "color" of the darkness?
Hi,
i am totally layman when it comes to scripts, and have very little knowledge on how things work, so maybe it is not the best place to ask, but:
Is there a way to somehow change the color of the "darkness" (that is, how the lack of lighting normally represneted) from black to something else?
(the purpose of this would be to experiment fakeing some atmospheric fog by the using of simple lighting....)
i am totally layman when it comes to scripts, and have very little knowledge on how things work, so maybe it is not the best place to ask, but:
Is there a way to somehow change the color of the "darkness" (that is, how the lack of lighting normally represneted) from black to something else?
(the purpose of this would be to experiment fakeing some atmospheric fog by the using of simple lighting....)
- papercoffee
- Godlike
- Posts: 10462
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
- Contact:
Re: Changeing the "color" of the darkness?
Do you mean in your map? Or general for every map?
For your map you don't need any uscript ...use the zone-lighting. set its brightness to 1 or 2 and give it a colour.
In my Northern Lights map did I use this to make the darkness of the night dark blue/purple.
For your map you don't need any uscript ...use the zone-lighting. set its brightness to 1 or 2 and give it a colour.
In my Northern Lights map did I use this to make the darkness of the night dark blue/purple.
- PrinceOfFunky
- Godlike
- Posts: 1204
- Joined: Mon Aug 31, 2015 10:31 pm
Re: Changeing the "color" of the darkness?
That's the first step to realistic lighting, second step should be cylinder lights for sun light
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Re: Changeing the "color" of the darkness?
In my map, or to be more particular, in a given zone.papercoffee wrote:Do you mean in your map? Or general for every map?
For your map you don't need any uscript ...use the zone-lighting. set its brightness to 1 or 2 and give it a colour.
In my Northern Lights map did I use this to make the darkness of the night dark blue/purple.
Howver, simple AmbientLighting won't cut it, for it just generally adds some value to every part of ever lightmap, making everything visible.
What i really want is soemthing similar what you can normally do with the "ViewFog" parameters under ZoneLighting. However that simply just "tints" the players view, (not the actual textures on the faces, obviously), so it only takes effect if the player is in that particular Zone.
What i am looking for, is if there a way to somehow modulate the textures / lightmaps in a Zone.
(So this has something to do how the actual stuff is rendered to begin with... but Is this accessible via some simple, or not so simple scripting, or it is just encapsulated deep in the engine, and that is that?)
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Changeing the "color" of the darkness?
It's for the 227 Unreal update but there is a non-light actor. Think of it as a negative light, you can use it to place darkness. The effect is quite unsettling when done correctly and would be just what you needed for this. Sadly, it won't work in UT. Still you can do some changes by adding a very low saturation color to a zone actor and use a very low brightness. This will give a gentle nudge to the dark color.
So long, and thanks for all the fish
- PrinceOfFunky
- Godlike
- Posts: 1204
- Joined: Mon Aug 31, 2015 10:31 pm
Re: Changeing the "color" of the darkness?
I think you can put a solid modulated color overlay with the HUD.SzGergo wrote:What i am looking for, is if there a way to somehow modulate the textures / lightmaps in a Zone.
(So this has something to do how the actual stuff is rendered to begin with... but Is this accessible via some simple, or not so simple scripting, or it is just encapsulated deep in the engine, and that is that?)
Some of the stuff I created:
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Mods: VisualStreamPlayer, TeamColorOverlay, FunkyMoves, CommandSystem, FunkyPointer, AdvancedMutator, CommandEvent, ParticleSystem, LifeSucks
Gametypes: UTRoyale, UnrealRace
Hacks : Create/Write files with UScript, Read files with UScript, Running files with UScript
Maps: CTF-(POF)-Escher_Fix, CTF-(NotYet)HyperBlast, DM-(NotYet)Condemned, CTF-StalwartXS, UR-Hyperblast, DM-3072-ItalyKinda, DOM-NRMC-Cathode, CTF-TAMC-UnderPressure
Concepts: RabbitHole, Builder gun, HeatMap, Playable arcade cabinet, Stalwartception, Non Conventional Weapons, MainFrame
Memes: Meme#1, Meme#2
Re: Changeing the "color" of the darkness?
Oh, that would be my other question!JackGriffin wrote:It's for the 227 Unreal update but there is a non-light actor. Think of it as a negative light, you can use it to place darkness. The effect is quite unsettling when done correctly and would be just what you needed for this. Sadly, it won't work in UT. Still you can do some changes by adding a very low saturation color to a zone actor and use a very low brightness. This will give a gentle nudge to the dark color.
I wanted to have an "antilgiht" actor so badly.
Basically the same thing as a normal light, but it would have a negative lighting value.
So is such thing not possible in UT?
Re: Changeing the "color" of the darkness?
SzGergo wrote:Is there a way to somehow change the color of the "darkness" (that is, how the lack of lighting normally represneted) from black to something else?
It sounds like you're talking about volumetric lighting:SzGergo wrote:...the purpose of this would be to experiment fakeing some atmospheric fog by the using of simple lighting....)
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Changeing the "color" of the darkness?
Short answer: no.SzGergo wrote: Basically the same thing as a normal light, but it would have a negative lighting value.
So is such thing not possible in UT?
Not so short answer: Getting this in 227 required changes to the core that only Smirf has access to do. It's not possible to be done that way in UT. It's a shame too because visually it's a very cool effect. You can make a spinning black hole in the center of a room that looks amazing. It's like the light is getting sucked in.
So long, and thanks for all the fish
- sektor2111
- Godlike
- Posts: 6420
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Changeing the "color" of the darkness?
In UT I got this - apology but I do not have so much Level-Design skill...
[attachment=0]MH-A_Test_Level_7.png[/attachment]
As far as I know Dark is always Black but... might be not really dark and having a bit of red tendency...- papercoffee
- Godlike
- Posts: 10462
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
- Contact:
Re: Changeing the "color" of the darkness?
Nope ...shades have always the complimentary colour of the light-source.sektor2111 wrote:As far as I know Dark is always Black but... might be not really dark and having a bit of red tendency...
Yellow lights creates blueish tinted shades, red lights greenish one etc.
It has to do with how light works.
Re: Changeing the "color" of the darkness?
As far as i know, volumetric lighting is generally tend to be disabled. (Guess that's because it is very-very resource demanding)Iacobus wrote:SzGergo wrote:Is there a way to somehow change the color of the "darkness" (that is, how the lack of lighting normally represneted) from black to something else?It sounds like you're talking about volumetric lighting:SzGergo wrote:...the purpose of this would be to experiment fakeing some atmospheric fog by the using of simple lighting....)
If the "darkness" could be set exchanged with some othr color (eg light grey), then distant atmospheric fog could be mimicked very nicely using only super cheap regular lighting.