[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]



[EXTRA_FX]
SKIP_GBUFFER = right,left, low, high, glasslhl_a, glassltl_a_SUB1, glassrtl_a_SUB0, angglass
MASK_GBUFFER = 


[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = glass_rear_red
ThicknessMult = 1
BrightnessAdjustment = 0.5       ; set to alter brightness
Desaturate = 0           ; increase to make main shading pass less saturated, thus moving color from it to masking pass
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 128
ExteriorGlassTintedMaterials = EXT_GLASS
|






[REFRACTING_HEADLIGHT_...]
SURFACE = right_glass, left_glass
INSIDE = tailightr_a_SUB2, tailightl_a_SUB2
[REFRACTING_HEADLIGHT_0]
ABSORPTION = 0.107000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.480000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 0.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 1.000000,0.999936,0.999900
GLASS_EMISSIVE_MULT = 0.200000
GLASS_EXTRA_THICKNESS = 0.040000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.620000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = 0.000001,0.886049,-2.304247
NM_SHARE_EXT = 0.230000
NM_SHARE_INT = 0.600000
ORIGIN = 0.595499,0.886049,-2.345985
RADIUS = 0.134198
REFLECTIVENESS_DIFFUSE_MULT = 68.699997
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.160000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1




[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=right_glass
COLOR=40,15,0,2
LAG=0.7
LOCATION=FRONT

[REFRACTING_HEADLIGHT_...]
SURFACE = 2, 6
INSIDE = tailightl_a_SUB10, tailightr_a_SUB10
[REFRACTING_HEADLIGHT_1]
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = 0.000001,0.765337,-2.341321
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.600000
ORIGIN = 0.570491,0.765337,-2.352431
RADIUS = 0.064794
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1




[EMISSIVE_REVERSE_0]
NAME = 2, 6  ; name (one or more) of a mesh to glow
COLOR = 10, 10, 10         ; glowing color if condition is met
OFF_COLOR = 0, 0, 0         ; glowing color otherwise, default value is 0
LAG = 0.8                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 0.3      ; adds heating effect, going through orange tint while turning on and off
LOCATION = REAR             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 0       ; if set to 1, emissiveness is raised wh






[EMISSIVE_BRAKE_...]
NAME=3, 7
COLOR=50, 1, -1, 1
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5






[REFRACTING_HEADLIGHT_...]
SURFACE = 3, 7
INSIDE = taillightrbulbs_a_SUB0, taillightlbulbs_a_SUB0
[REFRACTING_HEADLIGHT_2]
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = 0.000001,0.764937,-2.297314
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.600000
ORIGIN = 0.676422,0.764937,-2.333396
RADIUS = 0.066868
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1






[EMISSIVE_...]
INPUT= EXTRA_A
BIND_TO_EXTRA_A=1
NAME=1, 5
COLOR=6,6,7,2
LAG=0.2
SIMULATE_HEATING=0.3



[REFRACTING_HEADLIGHT_...]
SURFACE = 1, 5
INSIDE = tailightr_a_SUB11, tailightl_a_SUB11
[REFRACTING_HEADLIGHT_3]
ABSORPTION = 0.020000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.050000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_1 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = 0.000001,0.765542,-2.354266
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.600000
ORIGIN = 0.478906,0.765542,-2.359945
RADIUS = 0.055716
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1






[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=1000
BOUND_EXP=1
COLOR=0.957143, 0.957143, 1, 20
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.8
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.636, 2.12
RANGE=180
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=129.6
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=39
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0






[LIGHT_HEADLIGHT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=1000
BOUND_EXP=1
COLOR=0.957143, 0.957143, 1, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=80
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.8
MIRROR=0.624442
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0, 0.325, 2.11
RANGE=180
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=129.6
SECOND_SPOT_INTENSITY=0.27
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.58
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=39
SPOT_EDGE=0.02088, 0.01992, 0.018
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.0499376, 0.998752, 0








[SHADER_REPLACEMENT_...]
MESHES =  headlightr_a_SUB4, headlightr_a_SUB5,
PROP_... = emChannelsMode, 1 





[EMISSIVE_HIGHBEAM_...]
NAME = high_beam, high_bulb
INPUT = LOW_BEAM
COLOR=6,6,7, 5
LAG = 0.7
LOCATION = FRONT

[EMISSIVE_HIGHBEAM_...]
NAME = high
INPUT = LOW_BEAM
COLOR=6,6,7, 5
LAG = 0.8
LOCATION = FRONT

[EMISSIVE_HIGHBEAM_...]
NAME = headlightr_a_SUB4, headlightr_a_SUB5
INPUT = LOW_BEAM
COLOR=6,6,7, 10
CHANNEL = 0
LAG = 0.8
LOCATION = FRONT


[EMISSIVE_...]
NAME = low_beam
COLOR=6,6,7, 10
INPUT = HEADLIGHTS



[EMISSIVE_...]
NAME = gaugecluster_a_SUB1
COLOR=6,6,7, 0.25
INPUT = HEADLIGHTS

[EMISSIVE_...]
NAME = Object016, Object017, Object018 ,Object024, Object020, centerstackstructure_a_SUB0, doorcardlf_a_SUB3, doorcardlf_a_SUB2, centerconsolestructure_a_SUB2, dashpad_a_SUB2, dashstructure_a_SUB2, steeringwheel_a_SUB0
COLOR=6,6,7
INPUT = HEADLIGHTS

[EMISSIVE_...]
NAME = low
COLOR=6,6,7, 10
INPUT = HEADLIGHTS

[EMISSIVE_...]
NAME = headlightr_a_SUB4, headlightr_a_SUB5 
COLOR=6,6,7, 10
CHANNEL = 1
INPUT = HEADLIGHTS

[EMISSIVE_...]
NAME = tailightr_a_SUB7, tailightl_a_SUB7
COLOR=50, 1, -1, 1
INPUT = HEADLIGHTS



[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=left_run
COLOR=40,15,0,2
LAG=0.7
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=leftgreen
COLOR=0,15,0
LAG=0.7
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=rightgreen
COLOR=0,15,0
LAG=0.7
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...] 
NAME=right
COLOR=40,15,0,2
LAG=0.7
LOCATION=FRONT



[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=left
COLOR=40,15,0,2
LAG=0.7
LOCATION=FRONT



[EMISSIVE_TURNSIGNAL_RIGHT_...] 
NAME=right_run
COLOR=40,15,0,2
LAG=0.7
LOCATION=FRONT





[EMISSIVE_...]
INPUT= EXTRA_B
BIND_TO_EXTRA_B=1
NAME=headlightr_a_SUB1
COLOR=240,139,30, 0.15
OFF_COLOR=240,139,30, 0.05
LAG=0.2
SIMULATE_HEATING=0.3

[EMISSIVE_...]
INPUT= EXTRA_B
BIND_TO_EXTRA_B=2
NAME=trans_plastic
COLOR=240,139,30, 0.1
OFF_COLOR=240,139,30, 0.075
LAG=0.2
SIMULATE_HEATING=0.3


[EMISSIVE_...]
INPUT= EXTRA_B
BIND_TO_EXTRA_B=3
NAME=headlightl_a_SUB8, headlightr_a_SUB8
COLOR=240,139,30, 0.15
LAG=0.2
SIMULATE_HEATING=0.3


[EMISSIVE_...]
INPUT= EXTRA_B
BIND_TO_EXTRA_B=4
NAME=headlightr_a_SUB4
COLOR=240,139,30, 0.2
CHANNEL = 2
LAG=0.2
SIMULATE_HEATING=0.3

[EMISSIVE_...]
INPUT= EXTRA_B
BIND_TO_EXTRA_B=5
NAME=angglass
COLOR=240,139,30, 0.05
OFF_COLOR=240,139,30, 0.025
LAG=0.2
SIMULATE_HEATING=0.3

[EMISSIVE_...]
INPUT= EXTRA_C
BIND_TO_EXTRA_C=1
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
NAME=bmwada_bumper_F_SUB1
COLOR=10, 10, 10
LAG=0.2
SIMULATE_HEATING=0.3








[ANALOG_INDICATOR_...]
INPUT = SPEED
INPUT_MAX = 8200
NAME = ARROW_SPEED
ZERO = 0
STEP = 0.7


[ANALOG_INDICATOR_...]
INPUT = RPM
ZERO=5
STEP=0.032
OBJECT_NAME=ARROW_RPM
MIN_VALUE=0




[ANALOG_INDICATOR_...]
INPUT = FUEL
INPUT_MAX = 8000
NAME = ARROW_FUEL
ZERO = -3
STEP = 1.2



[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=40 ; flame size
ANTILAG_INTERVAL_MAX=9000
ANTILAG_INTERVAL_MIN=2000
ANTILAG_TURBO_THRESHOLD=0.5
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DI3CHARGE_CHARGE_TIME=0.001 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=3.1 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=9000 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=5 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=80 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=8500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=5 ; flame size
LIMITER_RPM_THRESHOLD=2000 ; limiter flames will not shoot below this rpm












