Over exposed HDR door question

Discussion in 'Mapping Questions & Discussion' started by StickZer0, Aug 9, 2009.

  1. StickZer0

    aa StickZer0 💙💙💃💙💙

    Messages:
    664
    Positive Ratings:
    667
    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
    [​IMG]
    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 :/
     
  2. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    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.
     
    • Thanks Thanks x 3
  3. StickZer0

    aa StickZer0 💙💙💃💙💙

    Messages:
    664
    Positive Ratings:
    667
    Excellent, it works like a charm. I actually set the max to 8 and min to 0.2 when inside the building and it really makes it seem bright outside and makes it look medrate inside, but only if you are inside.
    Thanks loads
     
  4. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    This could be advantageous if you have HDR disabled (a LOT of people can't use HDR)
     
  5. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    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.
     
  6. StickZer0

    aa StickZer0 💙💙💃💙💙

    Messages:
    664
    Positive Ratings:
    667
    I did try with a white func_brush with skip on the outside and it was an areaportalwindow, that worked to a fair extent