Please or Register to create posts and topics.

[Solved] Dark Areas

Page 1 of 2Next

Hi there,

is it possible to darken specific areas of maps to a definable level?

Regards,
iSpectra

???????????????????????????????????????????????Modding beginner. But ready to learn.
????????????????????????????????????????????????????????Visit my Steam profile!

Unfortunately it is not, although you can turn off all the lights there. Why do you need a definable level?

Falsi sumus crusto!

you could try to mess around with fog_volumes and/or color correction in certain areas.
(though I'm not sure if fog_volumes actually work in portal 2)

@Lpfreaky90; How exactly can I do that?

???????????????????????????????????????????????Modding beginner. But ready to learn.
????????????????????????????????????????????????????????Visit my Steam profile!

According the wiki fog volumes are only available in L4d.

Color correction is a little more difficult to create and creating step by step instructions would probably take up a page. However it controls contrast, levels or colours of the whole visible screen and I guess this would be one of the better solutions as you can define what exact areas the color correction will affect - however it would be an illusion and not an actual light change.

Honestly if your map is not too complex and you only want to change the lights in certain areas I would just change the light level of the light entities through an output.
- Probably the best way to do this is to use a env_projectedtexture and then turn it off and turn on a dimmer env_projectedtexture.
- You can also change the pattern of a light through an output, however this light will then fill up the light entdata.

Remember HDR! Lights fade and dim depending on how bright an area is for the player.

?????????????????????????????TWP Releases | My Workshop
ChickenMobile wrote:
According the wiki fog volumes are only available in L4d.

Correct, but if you actually try in Portal2 it seeems to be working... Check:

H1U7ITaqC6M#!

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

I think there is a tool texture called "block light" or something like that. I'm not sure if it's a good idea in this case though. Besides, fog volumes are only available in any games since L4D2, which means that Portal 2 can use them.

aha! Damn wiki being exact when it didn't need to be.

?????????????????????????????TWP Releases | My Workshop

So I tried the fog method, but even though my settings for the fog entity are the same as in the video, it doesn't work. Check out the attached image.

???????????????????????????????????????????????Modding beginner. But ready to learn.
????????????????????????????????????????????????????????Visit my Steam profile!

Try putting the Fog End value higher.
Also make sure that "master" flag is ticked.

?????????????????????????????TWP Releases | My Workshop
Page 1 of 2Next