Over exposed HDR door question

StickZer0

💙💙💃💙💙
aa
Nov 25, 2008
664
647
Basically, I was thinking for my next map for it to have a very bright outdoor section, and was wondering, is it possible to have a doorway that when you look into it, is completely white it's so bright, but as you get closer and look at it for longer it slowly looks "normal" outside and dark inside? I know HDR could possibly create this effect but I honestly know nothing about configuring HDR.
thanks, and if you aren't sure what I mean
hdr_archway_overexposed.jpg

that is similar to what i'm trying to do.

Also would this unbalance gameplay as people inside wouldn't be able to see out but people outside would probably have no trouble seeing in :/
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
I'll assume for the sake of keeping my post reaaasonably short that you already have an env_tonemap_controller (if not use the search feature or the tags cloud to find an existing thread on them, there are plenty)

Simply make a trigger brush the size of your building and use these outputs:

OnStartTouch | <name of your tonemap controller> | SetAutoExposureMax | <high numbetr like 1.5-2>
OnStartTouch | <name of your tonemap controller> | SetAutoExposureMin | <high numbetr like 1-1.5>

and

OnEndTouch | <name of your tonemap controller> | SetAutoExposureMax | <Original number like .8>
OnEndTouch | <name of your tonemap controller> | SetAutoExposureMin | <Original number like .6>


I'm not sure if this will affect -all- players or just the individual who triggers the brush, test it out with some bots, get one to run in (bot_mimic) whilst you're outside, if you see the lighting change its not possible to do what you want, otherwise you're sorted.
 

UKCS-Alias

Mann vs Machine... or... Mapper vs Meta?
aa
Sep 8, 2008
1,264
816
Many times i see some lightglow effect work better. For example on those road maps in HL2. When going out of the tunnel you see its effect but outside you dont. That would also prevent any advantages from having hdr off. It will take more entities but it stops those advantages.