[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/gt3_exhaust_glow.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]

;;;;;;;;; By TGN Modding ;;;;;;;;; 
; Conversion: TGN Modding / Origin: 
; Ambient Occlusion: TGN Modding | Nell
; Interior Details: TGN Modding | Nell
; Physics: TGN Modding | Nell
; Custom Shaders Patch: TGN Modding | Nell

; Download Link: https://www.facebook.com/groups/tgnmodding
; Patreon: https://www.patreon.com/TGNModding 
; Discord: https://discord.gg/Vam77j5UPu

;;;;;;;;; Data Replacement ;;;;;;;;; 
[DATA] 
DISABLE_LIGHTSINI = 1

[LIGHTING] ; Standard Config - Do Not Change
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1

[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
HEADLIGHTS_ARE_HEADLIGHTS=1
HORN_AS_SIREN=0
IS_LOW_BEAM_AVAILABLE=1
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
STOP_LODS_ADJUSTMENT=0
TURNING_LIGHTS_REPEAT=1

[PARTICLES_FX]
BODYSPARKS_AMOUNT=0.25
BODYSPARKS_INTENSITY=0.2
BODYSPARKS_LIFETIME=0.4
BODY_SPARKS_COLOR=1, 0.5, 0, 10
COLLIDER_0SPARKS_AMOUNT=0.25
COLLIDER_0SPARKS_INTENSITY=0.2
COLLIDER_0SPARKS_LIFETIME=0.4
COLLIDER_0_SPARKS_COLOR=1, 0.5, 0, 10
DRAG_MULT=2
INTERIOR_BOUNDS_CHECK=1
INTERIOR_BOUNDS_HEIGHT=0.644874
LIFT_MULT=0.1
SPARKS_AMOUNT_MULT=2
SPARKS_COOLDOWN_LAG=0.96
SPARKS_DEPTH_EXP=4
SPARKS_MAX_DEPTH=0.0025
SPARKS_OVERLOAD_LAG=0.7
TRACES_LIGHTS_POS=0.655593, 0.825127, -2.15187

;;;;;;;;; Exterior PBR Shaders / By TGN Modding | Nell ;;;;;;;;; 
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[REFLECTIONS_FX]
ALLOW_INTERIOR_SSAO=0
ALLOW_INTERIOR_SSGI=0
AUTOFIX=1
MASK_CUBEMAP_ENABLED=1
MASK_CUBEMAP_OFFSET=0, -0.1, 0.2
MASK_CUBEMAP_TWEAK=0.5

[EXTRA_FX] ; Front + Taillights Glass Only
MASK_GBUFFER = 46-_Glass

[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend
MESHES =
IS_TRANSPARENT = 1

[Material_PhotoelasticGlass] ; Headlights
Materials = ExtGlass
FilmIOR = 2.0
PhotoelasticityMult = 0.15  ; doesn’t look good if too high
ThicknessMult = 1.0
BrightnessAdjustment = 0.3
ExtraLightsAdjustment = 0.35
; Ideally, there would be a texture for that, but we’re not going to draw
; all those textures for Kunos cars, so here are some parameters for perlin noise
; instead
PhotoelasticityBaseScale = 3.5     ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.328  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.325   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.0  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 3.5   ; how many stripes are there
ProfileFix = 0.0

;;;;;;;;; Exterior Lights / By TGN Modding | Nell ;;;;;;;;; 
[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=55-_GlassGridWhite
COLOR=120,100,80
FALLBACK_HEADLIGHTS_COLOR=120,100,80
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; DRL Taillights - Colour MUST MATCH "50,2,-10"
NAME=Plane.019_Plane.024
COLOR=25, 0, 0
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5


[EMISSIVE_LIGHT_...] ; DRL Taillights - Colour MUST MATCH "50,2,-10"
NAME=Plane.014_Plane.018
COLOR=50, 2, 0
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...] ; Emergency Flash
NAME=88-_UniqueID_857
COLOR=50, 0, 0,5
CAST_LIGHT=1
LOCATION=REAR
ACT_AS_HEADLIGHTS=0
FALLBACK_HEADLIGHTS_COLOR=50, 1, 0,2

[LIGHT_HEADLIGHT_0] ; Headlights
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2
COLOR=140,120,80,.09
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.5, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=190
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.928
MIRROR_DIRECTION=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.5
OFF_MULT=0
OFF_POSITION=0, 0.58216, 1.74877
OFF_RANGE_MULT=0.3
POPUP_ENABLED=1
POPUP_START=0.05
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POSITION=0.0, 1.43, 3.28
RANGE=30
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=80
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPECULAR_MULT=1
SPOT=65
SPOT_EDGE=0.0922464, 0.0919776, 0.09144
SPOT_EDGE_SHARPNESS=21.2
SPOT_SHARPNESS=0
SPOT_UP=0.02, 0.999847, 0
