• "My mind is always racing." - Justin Bieber
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dear Guest. Follow RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and YouTube.

How do you reduce brake-light glare?

Discussion in 'Assetto Corsa' started by Billy Pilgrim, Oct 15, 2016.

Tags:
  1. Billy Pilgrim

    Billy Pilgrim

    Messages:
    690
    Ratings:
    +105
    Is there a line you can edit in the pp files to reduce rear brake-light glare. I don't want to totally remove the effect; I quite like it actually. I'd like to just turn it down a bit.
     
  2. Epistolarius

    Epistolarius
    Premium

    Messages:
    567
    Ratings:
    +376
    Brake lights intensity is handled for each car individually and that data is encrypted for the official cars. But for global glare settings you can play around with these settings in the post-processing preset (default here):
    Code:
    [GLARE]
    ENABLED=1
    QUALITY=3
    GHOST=1
    AFTER_IMAGE=0
    PRECISION=0; 0 is the highest, 2 is the lowest
    ; SetGlareAnamorphicLensFlareEnable()
    ANAMORPHIC=0
    ; SetGlareParameters()
    LUMINANCE=1.6
    SHAPE=11
    BLUR=1
    THRESHOLD=5
    ; look at EPFX_GLAREBRIGHTPASS :
    BRIGHT_PASS=0 ; this is 0 or 1
    ; SetGlareBloomFilterThreshold()
    BLOOM_FILTER_THRESHOLD=0.002 ; don't touch this
    ; SetGlareBloomGaussianRadiusScale()
    BLOOM_GAUSSIAN_RADIUS_SCALE=.95 ; don't touch this
    ; SetGlareBloomLuminanceGamma()
    BLOOM_LUMINANCE_GAMMA=2
    ; SetGlareBloomNumLevels()
    BLOOM_NUM_LEVELS=0 ; this makes the blur look better, but it cost more as num goes up
    ; SetGlareGenerationRangeScale()
    GENERATION_RANGE_SCALE=1 ; don't touch this
    ; SetGlareStarFilterThreshold()
    STAR_FILTER_THRESHOLD=0.0002 ; don't touoch this
    ; SetGlareStarSoftness()
    STAR_SOFTNESS=0.5 ; range 0, 1
    ; SetGlareStarLengthFovDependence()
    STAR_LENGTH_FOV_DEPENDENCE=0
    GHOST_CONCENTRIC_DISTORTION=1.0
    ; this enables/disables the following parameters
    USE_CUSTOM_SHAPE=1
    ; LOOK AT PFX_GLARESHAPEDEF for the following values
    SHAPE_LUMINANCE=5
    SHAPE_BLOOM_LUMINANCE=0.038
    SHAPE_BLOOM_DISPERSION=0.03
    SHAPE_BLOOM_DISPERSION_BASE_LEVEL=2
    SHAPE_GHOST_LUMINANCE=0.15
    SHAPE_GHOST_HALO_LUMINANCE=0.005
    SHAPE_GHOST_DISTORTION=0
    SHAPE_GHOST_SHARPENESS=0 ; 1 or 0
    SHAPE_STAR_LUMINANCE=0.025
    SHAPE_STAR_STREAKS_NUMBER=6
    SHAPE_STAR_LENGTH=0.25
    SHAPE_STAR_SECONDARY_LENGTH=1
    SHAPE_STAR_ROTATION=1 ;1 or 0
    SHAPE_STAR_INCLINATION_ANGLE=3
    SHAPE_STAR_DISPERSION=0
    SHAPE_STAR_FORCE_DISPERSION=0 ;0 or 1
    SHAPE_AFTERIMAGE_LUMINANCE=80
    SHAPE_AFTERIMAGE_LENGTH=0.5  ;time in seconds
     
    • Like Like x 1
  3. Billy Pilgrim

    Billy Pilgrim

    Messages:
    690
    Ratings:
    +105
    Thanks for your help.
    I'm thinking that "LUMINANCE=1.6" might be a good place to start.
     
  4. schrep1964

    schrep1964
    Premium

    Messages:
    44
    Ratings:
    +55
    Hi, it's in the brakes.ini which you can only alter if you decrypt the data.acd file of a car. Change the value for front and rear_max_glow. You need a program called quickbms for decrypting the acd. Do a google search. I can't give you the link because of forum user terms.
     
  5. schrep1964

    schrep1964
    Premium

    Messages:
    44
    Ratings:
    +55
    By the way, decrypting is not allowed by the Kunos team plus data file changes will give a mismatch if you race online. The serverprogram will kick you out because of detecting so called cheating attemps.
     
  6. mclarenf1papa

    mclarenf1papa

    Messages:
    983
    Ratings:
    +1,186
    What the OP is referring to is actually in the lights.ini, but yeah best not to modify Kunos data. PP Filter adjustments would be the way to go.
     
  7. Billy Pilgrim

    Billy Pilgrim

    Messages:
    690
    Ratings:
    +105
    I realise that it's not absolutely clear what I was referring to in the OP.

    When I say "glare" I don't mean the brightness of the rear lights themselves, I mean the trace of the brake light that extends around (above and below) the light itself - it makes the screen seem a bit red.

    Thanks to all of you for your input on this topic :)
     
  8. Chris Kennedy

    Chris Kennedy

    Messages:
    402
    Ratings:
    +405
    SHAPE=11 can be changed to yeild different glare patterns
    and/or SHAPE_STAR_x lines are probably what you want to play with
     
    • Like Like x 1