[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/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_LP_US
PROP_0 = ksSpecular, 0.05


; License Plate Frame Plastic

[Material_Plastic_v2]
Materials=
Brightness = 0.015
DetailScale =4
DetailNormalBlend = 0.25
Smoothness=0.4
Reflectance=0.1
[Material_Carbon]
Materials=EXT_LP_PLASTIC
DetailScale =100
; License Plate Frame Metal
[Material_MetalOld_v2]
Materials = EXT_LP_CHROME
DetailScale = 1

[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

[INSTRUMENTS]
FUEL_SPLASH_MULT=0
HAZARDS_G_THRESHOLD=1.5
SPEED_FIX=0.2
SPEED_LAG=0.1
SPEED_LIMIT=0



;PP;


; body paint
[Material_CarPaint_Metallic]
Materials=ext_Body_Paint
ColoredSpecular =1

[Material_CarPaint_Chrome]
Materials =ext_Wheel_paint1,ext_Wheel_paint2
BrightnessAdjustment=0.5
UseMetallicReflections=1

[Material_CarPaint_Metallic]
Materials=brake_calipers


;;;;;;;;; Exterior PBR Shaders / By Mr. Suzuki ;;;;;;;;; 
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.52
OFFSET=-0.09
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.52
OFFSET=-0.09
WIDTH=0.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

[SMART_MIRROR]
DISALLOW_MAPPING_NORMALIZATION=0
DISALLOW_REAR_MIRROR=0
DISALLOW_REFLECTION_TILTING=0
SHAKING=0

[STATUS_BATTERY]
BASE_VOLTAGE=12.4
MAX_VOLTAGE=13.6
RPM_LAG=0.98

[STATUS_EXHAUST]
TEMPERATURE_BOOST=400
TEMPERATURE_IDLE=400
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_RPM=100

[STATUS_OIL]
PRESSURE_BASE=1
PRESSURE_LAG_DOWN=0.9985
PRESSURE_LAG_UP=0.998
PRESSURE_STEP=0.7
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_MULT=1
TEMPERATURE_OFFSET=0
TEMPERATURE_RPM_FACTOR=0.03

[BRAKEDISC_FX]
ACTIVE = 1   
REFRESH = 1          ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 1         ; use ceramic look
CARVED = 30              ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 0.72   ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle
DEBUG = 0
DISC_INTERNAL_RADIUS = 0.110
DISC_RADIUS = 0.200
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0.0



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


[SHADER_REPLACEMENT_...] 
MATERIALS =INT_Decals_EMISSIVE_Alfa,INT_HUD,Material #27
BLEND_MODE=ALPHA_BLEND
IS_TRANSPARENT = 1



[SHADER_REPLACEMENT_...] 
MATERIALS =Dash_Lights_Emissive_Alpha,NoHesiSteer
BLEND_MODE=ALPHA_TEST
IS_TRANSPARENT =0

[SHADER_REPLACEMENT_...] 
MESHES=Object0561
BLEND_MODE=ALPHA_BLEND
IS_TRANSPARENT =1

[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = INT_Decals_FLAT_Alfa
BLEND_MODE=ALPHA_TEST

[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = rpm_lights
IS_TRANSPARENT=0
BLEND_MODE=ALPHA_TEST
SHADER=KsPerPixel

[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = brake_decals
BLEND_MODE=ALPHA_TEST

[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = Tyre
PROP_... = ksAmbient, 0.15
PROP_... = ksDiffuse, 0.15
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 12
PROP_... = ksSpecular, 0.04
DOUBLE_FACE_SHADOW_BIASED = 1

[Material_Glass] ; Red Taillights Glass
Materials = EXT_Glass_Emissive_Rear
FilmIOR =2
BrightnessAdjustment = 0.0
ThicknessMult = 2

[Material_Glass]
Materials = Windows_alfa, Windows
ThicknessMult =1
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 0.2
BrightnessAdjustment =0.3
IOR = 2          ; looks better like this
MaskPassColor = 0, 255, 96  ; mask pass color adjustment

[Material_Glass]
Materials =Glass
IOR = 2          ; looks better like this
[LIGHT_FLAME_0] ; Flame Brightness
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1
CAR_RANGE_MULT=1
COLOR=5,1,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

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


[SHADER_REPLACEMENT_...]
MATERIALS =AndroidAuto,m3f80_logo2_alpha,m3f80_gauges_alpha
ADAPTIVE_EMISSIVE = 1

[LIGHT_LICENSEPLATE] ; License Plate 
; no need to specify meshes names if material is using Plate_D.dds and Plate_NM.dds textures
MESHES= EXT_LP_US
OFFSET=-0.025, 0.05, 0.0
RANGE=0.25
SPOT=170
COLOR=10,10,10
LAYOUT=TWO_ON_TOP ; other supported values: TWO_ON_TOP, ONE_ON_TOP, TWO_ON_BOTTOM, ONE_ON_BOTTOM


[EMISSIVE_LIGHT_...] ; Cluster Light
NAME=GEO_Cockpit_HR_SUB18
COLOR=2
OFF_COLOR=2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Cluster Light
NAME=misc_a_SUB14 ,  polymsh_extracted13 
COLOR=2,2,3,2
OFF_COLOR=2,2,3,1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Cluster Light
NAME=interior_digital_gauge_sport.001 , interior_digital_gauge_sport,Object0771
COLOR=2
OFF_COLOR=1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Cluster Light
NAME=Object0541, Object0531 , Object0551 , Object0561
COLOR=2,1.5,1.3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Arrows Light
NAME=Object0581 , Object0571 , Object0601,Object0591
COLOR=5,1,0,3
OFF_COLOR=5,1,0,3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Navigation Light
NAME=Object061
COLOR=2,2,2,2
OFF_COLOR=2,2,2,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Buttons Light
NAME= , GEO_Cockpit_HR_decals_SUB0 , polymsh86_SUB10 , polymsh87_SUB12
OFF_COLOR=0
COLOR=2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_BRAKE_...] ; Cluster Light
NAME=EXT_Emissive_Brakes
COLOR=52,2,0,2

;EMERGENCY BRAKE
[EMISSIVE_BRAKE_...] 
NAME=g_Rear_Light_Center_SUB1
COLOR=50, 1.52, 0, 30
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR=50, 1.52, 0,30
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking

[LIGHT_HEADLIGHT_0] ; Headlights Both Low/Highbeam are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=10,10,10,.5
LAG=0.1
DIFFUSE_CONCENTRATION=0.5
DIRECTION=0, 0, 2
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=50
LOWBEAM_RANGE_MULT=0.9
LOWBEAM_RANGE_ONCOMING_MULT=0.3
MIRROR=0.695
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=00.0, 0.623, 1.84
RANGE=200
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=50
SECOND_SPOT_INTENSITY=2.0
SECOND_SPOT_RANGE=50
SECOND_SPOT_SHARPNESS=0.20
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=55
SPOT_EDGE=0.021, 0.02, 0.02
SPOT_EDGE_SHARPNESS=50
SPOT_SHARPNESS=0
SPOT_UP=0.050, 0.99, 0

[LIGHT_BRAKE_0] ; Brakelights Both DRL/Brakelights are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.181034, 0, 3

[LIGHT_REVERSE_0] ; Reverse Lights
AFFECTS_TRACK=1



;;;;;;;;; Cluster Config / By Mr. Suzuki ;;;;;;;;; 
[EMISSIVE_TURNSIGNAL_LEFT_...] ; Interior Left Turnsignal
NAME=f81cluster006
COLOR=0,10,0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=INSIDE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Interior Right Turnsignal
NAME=f81cluster007
COLOR=0,10,0,3
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=INSIDE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=f81cluster005
COLOR=0,5,10,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Lowbeam 2 - Leave Blank Unless Used
NAME=f81cluster014
COLOR=0,10,0,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_ABS_0] ; Warning ABS Off
NAME=f81cluster013
TOGGLE_VISIBILITY = 0
COLOR=0,0,0
OFF_COLOR=10,5.6,-4
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_0] ; Warning Traction Off 1
NAME=f81cluster001
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=10,3.1,0.1,3
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_1]
NAME=f81cluster015 , f81cluster016
TOGGLE_VISIBILITY = 0
COLOR=0
INPUT_THRESHOLD = 1
INPUT_THRESHOLD_INVERSE = 1
OFF_COLOR=10,3.1,0.1,3
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_2]
NAME=f81cluster016
TOGGLE_VISIBILITY = 1
COLOR=0
INPUT_THRESHOLD = 1
INPUT_THRESHOLD_INVERSE = 1
OFF_COLOR=10,3.1,0.1,3
LAG=0.0

[EMISSIVE_TRACTIONCONTROL_INACTION_0] Warning Traction In Action
COLOR=10,3.1,0.1,3
NAME=f81cluster00
TOGGLE_VISIBILITY = 0
LAG=0.2

[EMISSIVE_HANDBRAKE_0] ; Warning Handbrake
NAME=f81cluster003
TOGGLE_VISIBILITY = 0
COLOR=45,0.7,0, 1.8
LAG=0.25

[EMISSIVE_...] ; Warning Tyre Pressure
NAME=f81cluster002
TOGGLE_VISIBILITY = 0
COLOR=20,4,0.1,3.5
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 38
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_...] ; Stalled Manual Only
NAME=warning_seatbelt, warning_airbag
BIND_TO=STALLED 
TOGGLE_VISIBILITY = 0
COLOR=5,0 ,0 , 3.5
LAG=0.3

[ODOMETER_MAIN]
DIGITAL_ITEM=4
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ODOMETER_TRIP]
DIGITAL_ITEM=5
DIGITAL_ITEM_NUMBER_FORMAT=06.1
UPPER_BOUND=9999

[DI_FUEL_ESTIMATE_DISTANCE_TOTAL_...]
DIGITAL_ITEM = 16
DIGITAL_ITEM_NUMBER_FORMAT = 1.0
OUTPUT_MULTIPLIER = 0.01

[ITEM_] ; This Goes Into Your Digital_Instruments.ini
VERSION=2
PARENT=
POSITION=-0.133,0.082,0.035
TYPE=PLACE_HOLDER
SIZE=0.017
COLOR=255,255,255,255
INTENSITY=3
FONT=e92_big
ALIGN=CENTER
UNITS=KML

[ITEM_] ; Odometer Main
PARENT=
TYPE=PLACE_HOLDER
TEXT=05448
POSITION=-0.0078, -0.0365, 0.00
SIZE=0.008
COLOR=300,300,300,300
INTENSITY=3.0
FONT=e92_mid
VERSION=2
ALIGN=LEFT

[ITEM_] ; Odometer Trip
PARENT=
TYPE=PLACE_HOLDER
TEXT=829.8
POSITION=0.000, -0.0365, 0.00
SIZE=0.008
COLOR=300,300,300,300
INTENSITY=3.0
FONT=e92_mid
VERSION=2
ALIGN=RIGHT

;;;;;;;;; Audio Volume [CAREFULL WITH THIS] / By Mr. Suzuki ;;;;;;;;; 
[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1

[AUDIO_VOLUME]
BACKFIRE_EXT=1
BACKFIRE_INT=1
BODYWORK=1
DIRT=1
DOWN_SHIFT=1
ENGINE_EXT=1
ENGINE_INT=1
GEAR_EXT=1
GEAR_GRIND=1
GEAR_INT=1
HORN=1
LIMITER=1
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
TRANSMISSION=1
TURBO=1
WIND=1

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

[AUDIO_PARAMETER_TRANSFORM]
; Originally, AC would sent 10000 to soundbank, but now it’ll send 5000 instead. Or, 
; it’ll send 2500 instead of 5000 — values in-between these points are linearly interpolated.
ENGINE_EXT_RPMS = (| 1000=1200 | 7000=7000|)
ENGINE_INT_RPMS = (| 1000=1200 | 7000=7000|)

;;;;;;;;; Display Settings [CAREFULL WITH THIS] / By Mr. Suzuki ;;;;;;;;; 
[Display_AndroidAuto] ; Android Auto [!!ONLY WORKS WITH 1.78PREVIEW+]
Meshes = GEO_Cockpit_HR_SUB18  ; display mesh
Resolution = 1010, 410   ; texture resolution
Size = 1024, 410           ; size of the screen area
Scale = 0.79              ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.75, -2.5  ; position of rear view camera

[EXTRA_FX]
DELAYED_RENDER = material:INT_HUD ; unlike with DELAYED_RENDER, this one would only affect first person mode
MASK_GBUFFER = GEO_Chassis_SUB5,ext_glass_rear_outerin,Glass
GLASS_FILTER = __navigator_mesh_1
SKIP_GBUFFER = material:INT_Glass_Display,material:Dash_Lights_Emissive_Alpha


[EXTRA_FX_EMISSIVE_...]
MESHES =GEO_Cockpit_HR_SUB18






[EXTRA_FX_EMISSIVE_...]
MESHES= misc_a_SUB14
RANGE = 0.12
COLOR =1
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0
IGNORE_TEXTURE_COLOR = 0
SPLIT_ELEMENTS = 1
NORMAL_SHIFT = 0

[ANALOG_INDICATOR_...] ;No more high values when you wheel slipped, real M4 don't work like this
OBJECT_NAME=ARROW_SPEED
INPUT = SPEED
INPUT_MAX = 330 ;Yes, stock M4 can't run over, but if speedo edited anyway, why not to make real limit
ZERO=-1
STEP=0.7212121

[ANALOG_INDICATOR_...] ;Oil Temperature
NAME = ARROW_WATER ;In game's car data it maked as water temp gauge, but really it show oil temp
INPUT = OIL_TEMP
INPUT_ADD = 30 ;Default AC's 70° is to low, real working oil temp is around 100°
LUT = (70 = -51|120 = -6|170 = 38)

[EMISSIVE_EXTRA_A_0]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=g_Headlight_Near
COLOR=20,20,25, 4
OFF_COLOR=20,20,25, 4
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_1]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=Light_Extra
COLOR=20,20,25, 4
OFF_COLOR=20,20,25, 4
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_2]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=Sprite_Front_parking.001
TOGGLE_VISIBILITY = 1
COLOR=20,20,25, 4
OFF_COLOR=20,20,25,4
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
;       ///Угловой свет///

[EMISSIVE_CORNERINGLAMP_LEFT_0]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=Sprite_corner_L
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_CORNERINGLAMP_LEFT_1]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=glass_corner_L
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_CORNERINGLAMP_RIGHT_0]
BIND_TO_HEADLIGHTS=0
NAME=Sprite_corner_R
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_CORNERINGLAMP_RIGHT_1]
BIND_TO_HEADLIGHTS=0
NAME=glass_corner_R
TOGGLE_VISIBILITY = 1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
COLOR=20,20,21, 3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[LIGHT_CORNERINGLAMP_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.952381, 0.952381, 1, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.9, -0.2, 0.9
OFF_POSITION=-1.6, 0.61, 2.1
POSITION=-1.6, 0.61, 2.1
RANGE=10
SPOT=120
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0

[LIGHT_CORNERINGLAMP_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=0.952381, 0.952381, 1, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.9, 0, 0.9
OFF_POSITION=1.6, 0.61, 2.1
POSITION=1.6, 0.61, 2.1
RANGE=10
SPOT=120
EXTERIOR_ONLY=0
FADE_AT=90
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0

 ;       ///основной свет///

[EMISSIVE_LIGHT_0]
NAME=Sprite_lowbeam
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_1]
NAME=glass_lowbeam
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=20,20,21, 2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_0]
NAME=Sprite_hibeam
TOGGLE_VISIBILITY = 1
COLOR=20,20,21, 16
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_1]
NAME=glass_hibeam
TOGGLE_VISIBILITY = 1
COLOR=20,20,21, 2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

 ;       ///Поворотники///

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=LEFT_turn_LED
COLOR=20,10,0, 3
FALLBACK_BASE_COLOR=20,10,0
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=Sprite_turn_L
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 15
FALLBACK_BASE_COLOR=20,10,0,7
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=glass_turn_L
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 6
FALLBACK_BASE_COLOR=20,10,0,3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=rlindicatoro
COLOR=20,10,0, 10
LAG=0.73
SIMULATE_HEATING=1
LOCATION=REAR


[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=RIGHT_turn_LED
COLOR=20,10,0, 3
FALLBACK_BASE_COLOR=20,10,0
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=Sprite_turn_R
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 15
FALLBACK_BASE_COLOR=20,10,0,7
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=glass_turn_R
TOGGLE_VISIBILITY = 1
COLOR=20,10,0, 6
FALLBACK_BASE_COLOR=20,10,0,3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=rrindicatorbo
COLOR=20,10,0, 10
LAG=0.73
SIMULATE_HEATING=1
LOCATION=REAR




[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.71, 0, 0.69
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_RANGE_MULT=0.5
POSITION=1.0, 0.66, 2.0
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6


[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.71, 0, 0.69
EXTERIOR_ONLY=
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
POSITION=-1.0, 0.66, 2.0
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[LIGHT_TURNSIGNAL_LEFT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.6, 0, -0.88
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
OFF_POSITION=1.3, 0.89, -2.3
POSITION=1.3, 0.89, -2.3
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=175
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[LIGHT_TURNSIGNAL_RIGHT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.6, 0, -0.88
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
OFF_POSITION=-1.3, 0.89, -2.3
POSITION=-1.3, 0.89, -2.3
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=175
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6




     ///BREAK LIGHTS///
	 
[EMISSIVE_EXTRA_A_3]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=ext_emissive_taillightsin,EXT_Emissive_Taillights
COLOR=20,5,0,4
FALLBACK_HEADLIGHTS_COLOR=20,5,0, 4
LAG=0.2
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_REVERSE_0]
NAME =new_reverse_outer  ; name (one or more) of a mesh to glow
COLOR = 20, 20, 20,10       ; glowing color if condition is met
LAG = 0.73                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 1      ; 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 = 1       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights
ER_THRESHOLD=0

[INCLUDE: common/materials_interior.ini]

[Material_MetalOld_v2]
Materials =Bbschrome,bbsface
Brightness = 0.5

[Material_InteriorPBRDetail]
Materials =bbsgoldbolts
Metalness = 0.8
Brightness = 0.5
[Material_Plastic]
Materials=Bbscaps

[Material_Metal_v2]
Materials = HDL_CHROME
Brightness = 0.5
DetailScale = 12
Metalness = 0.8
Reflectance = 0.35

[Material_MetalOld_v2]
Materials =EXTEXHAUST
Brightness = 0.1

[Material_Carbon]
Materials= WoodTrim
DetailScale=1000

[Material_Carbon]
Materials= ExtCarbon
DetailScale=380
ClearCoatF0=0.32
Brightness=0.45

[Material_Aluminium_v2]
Materials = Lights
Brightness=0.5

[Material_Plastic]
Materials=EXT_PLASTIC

[Material_Plastic]
Materials=INT_Decals_PLASTIC_Std
[Material_Metal_v2]
Materials=INT_OCC_PLASTIC_Ref,IntAluTrim
DetailScale=0


[Material_Metal_v2]
Meshes =GEO_Chassis_SUB4.001
Brightness=0.05


[Material_Metal_v2]
Meshes =g_Bumper_Front_SUB1
Brightness=0.025
Metalness = 0.92


;INTERIOR PBR
[Material_Metal_v2]
Meshes = GEO_Cockpit_HR_SUB15, rear_SUB2, kpp_leather_SUB1, GEO_Cockpit_HR_SUB11, rollcage_a_SUB1, Belt_on_SUB1, seat_L_SUB2, polymsh87_SUB11
Brightness = 2
DetailScale = 0
Metalness = 0.1
Reflectance = 0.5
LocalReflectionsSharpness = 0.9
DetailTexture = 0
OcclusionMap = 0.45

[Material_Velvet]
Materials=INT_alkantra
Brightness = 0.3
DetailScale = 70
DetailNormalBlend = 1.5

[Material_Aluminium_v2]
Materials = Rul_metal
Brightness = 0.65
DetailScale = 50
DetailNormalBlend = 3
OcclusionMap = 0.5

[Material_Carpet]
Materials=INT_OCC_Carpet_A, INT_OCC_Carpet_BIN, INT_OCC_Carpet_B

[Material_Leather]
Materials=INT_OCC_Skin_soft, LeatherSeats


[Material_Leather]
Materials=int_leather_paint1
Brightness = 0.65
Smoothness=0.5
[Material_Aluminium_v2]
Materials = EXT_Emissive_Light_Rear
Smoothness = 0.95
Metalness = 0.8
Reflectance = 1
BrightnessAdjustment = 1
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

[Material_Aluminium_v2]
Materials = RLindicator,RRindicator
Smoothness = 0.95
Metalness = 0.99
Reflectance = 1
BrightnessAdjustment =.3
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

[Material_Aluminium_v2]
Materials =Lights.001
Smoothness = 0.5
Metalness = 0.5S9
Reflectance = 1
BrightnessAdjustment =.1
CubemapReflectionBlur = 0
PROP_22=pbReflectionBlurEnv, 0
HasDetailNormals=1

[Material_Plastic]
Materials=INT_OCC_PLASTIC_Skin, INT_OCC_PLASTIC_Std
Meshes=GEO_Cockpit_HR_SUB17, GEO_Cockpit_HR_SUB16, GEO_Cockpit_HR_SUB19, lod0_int_steer_ObjOff_SUB6-1
OcclusionMap= 0.5
BrightnessAdjustment= 0.1

[Material_Metal_v2]
Materials =INT_Decals_METAL_ALuminium







[Material_Fabric]
Materials = INT_OCC_FABRIC_Roof

[Material_Plastic_v2]
Materials = INT_OCC_Rubber
Brightness = 0.5
Smoothness = 0.0
DetailScale = 0
ColorSource = DIFFUSE
---------------------------------- INSIDE EMISSIVE FX -------------------------------------------


