[INCLUDE]
INCLUDE=common/no_popup_lights.ini

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = ext_body
[Material_CarPaint_Solid]
FresnelMax = 0.5
FresnelC = 0.05
BrightnessAdjustment = 0.5
ClearCoatThickness = 0
ColoredSpecular = 0.5
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0

[INCLUDE: common/materials_interior.ini]


;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = ext_window
ThicknessMult = 2.0
EXTRA_MASK_PASS = 1.0
EXTRA_MASK_PASS_OPACITY = 0.1
FilmIOR=2.0


[Material_Glass]
Materials = rear_light_glass, front_light_glass
FilmIOR=2
ThicknessMult = 1
MaskPass = 0.5            ; mask pass opacity
MaskPassColor = 0, 0, 0  ; mask pass color adjustment

[Material_CarPaint_Solid]
Materials = ext_carbon
FresnelMax = 0.5
FresnelC = 0.05
BrightnessAdjustment = 0.5
ClearCoatThickness = 0
ColoredSpecular = 0.5
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0
DetailScale = 350
OcclusionMult = 1
DetailTexture = ext_Carbon.dds

--------------------------------------------------------
--                EXTERIOR LIGHT TWEAKS                --
---------------------------------------------------------

[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.1
MULT=1, 1, 1, 1
OFFSET=2

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1.0, 1.0, 1.2, 16
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=70
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.810156
MIRROR=0.75003
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.625003
OFF_MULT=0
OFF_POSITION=0, 0.511741, 1.82912
OFF_RANGE_MULT=0.125
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POPUP_ENABLED=1
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_START=0.05
POSITION=0, 0.511741, 2.13
PREFER_FRONT=-1
RANGE=240
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=123.6
SECOND_SPOT_INTENSITY=0.21
SECOND_SPOT_RANGE=16
SECOND_SPOT_SHARPNESS=0.53
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=75
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0
SPOT_UP=0, 1, 0

[INCLUDE: common/selflighting.ini]
[SelfLight_Headlights]
MIRROR= 0.600
POSITION= 0.0, 0.515, 1.70
AFFECTS_TRACK= 0
DIFFUSE_CONCENTRATION= 0.80
BOUND_TO= front_lights
SPOT_SHARPNESS= 0.20
SPOT= 170
COLOR= 12,12,13,8
SPECULAR_MULT= 1
RANGE= 0.4

[SelfLight_Headlights]
MIRROR= 0.770
POSITION= 0.0, 0.500, 1.67
DIRECTION=0,0.3,1
AFFECTS_TRACK= 0
DIFFUSE_CONCENTRATION= 0.80
BOUND_TO= front_lights
SPOT_SHARPNESS= 0.20
SPOT= 80
COLOR= 12,12,13,8
SPECULAR_MULT= 1
RANGE= 0.4

[SelfLight_Headlights]
MIRROR = 0.842
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.36, 2.00
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.90
BOUND_TO = signal_lf
SPOT_SHARPNESS = 0.10
SPOT= 130
COLOR= 10,10,11,2
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.683
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.365, 2.06
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.90
BOUND_TO = signal_lf
SPOT_SHARPNESS = 0.10
SPOT= 130
COLOR= 10,10,11,2
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.771
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.361, 2.00
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.90
BOUND_TO = signal_lf
SPOT_SHARPNESS = 0.10
SPOT= 130
COLOR= 10,10,11,2
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.83
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.29, 1.94
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.80
BOUND_TO = signal_lf
SPOT_SHARPNESS = 0.20
SPOT= 130
COLOR= 10,10,11,4
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.79
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.295, 2.00
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.80
BOUND_TO = signal_lf
SPOT_SHARPNESS = 0.20
SPOT= 130
COLOR= 10,10,10,4
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.71
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.291, 2.00
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.80
BOUND_TO = signal_lf
SPOT_SHARPNESS = 0.20
SPOT= 130
COLOR= 10,10,10,4
SPECULAR_MULT = 1
RANGE = 0.3

[SelfLight_Headlights]
MIRROR = 0.781
DIRECTION = 0, 0, 1
POSITION = 0.0, 0.610, -2.24
AFFECTS_TRACK = 0
DIFFUSE_CONCENTRATION = 0.80
BOUND_TO = brake_lights
SPOT_SHARPNESS = 0.20
SPOT= 130
COLOR= 12.5, 0, 1.2,5
SPECULAR_MULT = 5
RANGE = 0.35


[LIGHTING]
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=0.0
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_FADE=0.5
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1


[LIGHT_EXTRA_1]    ;interiorLight
BIND_TO_EXTRA_B=1    ; if "1" on/off with "Alt+NUMPAD_8"
COLOR=30,144,255,0.17
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=5
FADE_SMOOTH=5
MIRROR=0
POSITION=0.04, 0.700, 0.6
DIRECTION=-1.0,-1, 0
RANGE=1
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=3
SPOT=120
SPOT_SHARPNESS=0.5
position=rechts/links, hoch/runter, vorne/hinten


[LIGHTING] ; improved glow for taillights 
EMISSIVE_BRAKELIGHTS_MULT=0.8
EMISSIVE_HEADLIGHTS_MULT=0.9
EMISSIVE_MULT=1

[BOUNCED_INTERIOR_LIGHT]
BIND_TO=
MULT=0.5
SPOT=24

[TYRES_FX_FRONT]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[SHADOWED_TYRES]
ANGLE=6
OFFSET=0
OPACITY=0.3
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[BRAKEDISC_FX_FRONT]
ACTIVE=1
OVERRIDE_DIFFUSE_MAP=0
OVERRIDE_NORMAL_MAP=0
CERAMIIC=0
CARVED =0
CARVED_FREQUENCY=0

[BRAKEDISC_FX_REAR]
ACTIVE=1
OVERRIDE_DIFFUSE_MAP=0
OVERRIDE_NORMAL_MAP=0
CERAMIIC=0
CARVED =0
CARVED_FREQUENCY=0

[LIGHT_BRAKEDISCS_FRONT]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.5, 0, 1.2
DEBUG=0
DIFFUSE_CONCENTRATION=0.88
DIRECTION=1, 0, 0
EXTERIOR_ONLY=1
FADE_AT=30
FADE_SMOOTH=5
GLOW_BOUNDARY_FROM=1
GLOW_BOUNDARY_TO=10
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_RANGE_MULT=0.5
POSITION=0, 0, 0
RANGE=0.65
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=130
SPOT_SHARPNESS=0.8

[LIGHT_BRAKEDISCS_REAR]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.5, 0, 1.2
DEBUG=0
DIFFUSE_CONCENTRATION=0.88
DIRECTION=1, 0, 0
EXTERIOR_ONLY=1
FADE_AT=30
FADE_SMOOTH=5
GLOW_BOUNDARY_FROM=1
GLOW_BOUNDARY_TO=10
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_RANGE_MULT=0.5
POSITION=0, 0, 0
RANGE=0.65
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=130
SPOT_SHARPNESS=0.8


[REAL_MIRROR_0]
FOV=12
IS_MONITOR=1
ROTATION=0.02, 0

[REAL_MIRROR_1]
IS_MONITOR=1

[REAL_MIRROR_2]
FOV=12
IS_MONITOR=1
ROTATION=-0.03, 0.01


[WIPERS]
WIND_THRESHOLDS_KMH = 60, 250  ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1        ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1        ; multiplier for frequency
WIND_OFFSET = 0.03             ; base animation progress to vibrate around

[WIPERS_TRACE_...]
SURFACE = polySurface4194,door_int_windows1
WIPERS = wiper_blade


[PARTICLES_FX_EXHAUST]
COLOR=0.7, 0.75, 0.9, 0.5
GAS_LAG=0.9
GROW=1, 1
INTENSITY=0.05, 0.1
INTENSITY_MULT=1
LIFE=1.6, 2
POSITION_OFFSET=0, 0, 0
SPAWN_OFFSET=0.02, 0.02
SPEED=0.4, 0.8
SPEED_THRESHOLD=5, 20
SPREAD=1, 1
STARTING_SIZE=0.03, 0.03
TEMPERATURE_LAG=0.9995
TEMPERATURE_THRESHOLD=40, 60

[LIGHT_FLAME_0]
BRIGHTNESS_MULT=0.6
CAR_BRIGHTNESS_MULT=1


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= signal_lf
COLOR=400, 150, 0
OFF_COLOR=250,250,250
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= signal_lr
COLOR=400, 150, 0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME= LED_t_1
COLOR=0, 10, 0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= signal_rf
COLOR=400, 150, 0
OFF_COLOR=250,250,250
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= signal_rr
COLOR=400, 150, 0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=REAR

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME= LED_t_2
COLOR=0, 10, 0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=NONE


[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
COLOR= 12, 10, 10, 1
POSITION= 0.7,0.367,1.4
DIRECTION= 0.2, 0, 1
OFF_MULT= 0.1
RANGE= 1.535
SPOT= 70
FADE_AT= 100
FADE_SMOOTH= 5

[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
COLOR= 12, 10, 10, 1
POSITION= -0.7,0.367,1.4
DIRECTION= -0.2, 0, 1
OFF_MULT= 0.1
RANGE= 1.535
SPOT= 70
FADE_AT= 100
FADE_SMOOTH= 5

[LIGHT_TURNSIGNAL_LEFT_1]
AFFECTS_TRACK= 1
COLOR= 12, 5, 8, 1
POSITION= 0.7,0.367,-1.93
DIRECTION= 0.5, 0, -1
OFF_MULT= 0.1
RANGE= 1.535
SPOT= 100
FADE_AT= 100
FADE_SMOOTH= 5

[LIGHT_TURNSIGNAL_RIGHT_1]
AFFECTS_TRACK= 1
COLOR= 12, 5, 8, 1
POSITION= -0.7,0.367,-1.93
DIRECTION= -0.5, 0, -1
OFF_MULT= 0.1
RANGE= 1.535
SPOT= 100
FADE_AT= 100
FADE_SMOOTH= 5


[LIGHT_PITLIGHT]
NAME= brake_lights2
AFFECTS_TRACK= 1
COLOR= 12, 5, 0, 1.2
POSITION= -0.7,0.367,-2.13
DIRECTION= -0.5, 0, -1
OFF_MULT= 0.1
RANGE= 1.535
SPOT= 100
FADE_AT= 100
FADE_SMOOTH= 5

[LIGHT_BRAKE_LIGHT]
NAME= brake_lights
AFFECTS_TRACK= 1
COLOR=	12.5, 0, 1.2
POSITION= -0.7,0.367,-2.13
DIRECTION= -0., 0, -1
OFF_MULT= 1
RANGE= 1.535
SPOT= 250
FADE_AT= 500
FADE_SMOOTH= 5


[Material_CarPaint_Solid]
Materials = EXT_RIM_COLOR_1
FresnelMax = 0.5
FresnelC = 0.05
BrightnessAdjustment = 0.5
ClearCoatThickness = 0
ColoredSpecular = 0.5
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0
DetailTexture = plastic_black.dds
DetailScale = 1
OcclusionMult = 1


[Material_Plastic]
Materials = _EXT_PLASTIC1
Smoothness = 0.7
Reflectance = 0.08
BrightnessAdjustment = 0.3
DetailScale = 1
OcclusionMult = 1
DetailTexture = plastic_dark.dds


[Material_Metal_v2]
Materials = exhaust
Metalness= 0.5
Smoothness = 0.5
Reflectance = 0.4
CubemapReflectionBlur = 1
BrightnessAdjustment = 0.5
DetailScale = 1
OcclusionMult = 1
DetailTexture = INT_ALU_scratches.dds

[AUDIO_VOLUME]
BACKFIRE_EXT=0.7
BACKFIRE_INT=0.7
BODYWORK=0.7
DIRT=0.7
DOWN_SHIFT=0.7
ENGINE_EXT=0.7
ENGINE_INT=0.7
GEAR_EXT=0.7
GEAR_GRIND=0.7
GEAR_INT=0.7
HIT=0.7
HORN=0.7
LIMITER=0.7
SCRAPE=0.7
SKID_EXT=0.7
SKID_INT=0.7
TRACTION_CONTROL_EXT=0.7
TRACTION_CONTROL_INT=0.7
TRANSMISSION=0.7
TURBO=0.7
WHEEL=0.7
WIND=0.7
