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


; body paint
[Material_CarPaint_Metallic]
Materials=ext_Body_Paint
ColoredSpecular =0.9
;SpecularBase = 0.1, 40
BrightnessAdjustment=0.75

[Material_CarPaint_Solid]
Materials=ext_Body_Paint2

BrightnessAdjustment=1.5

[Material_CarPaint_Metallic]
Materials=
NormalsMode=BASIC
FILL_MISSING_TEXTURES=1
SpecularBase = 0.03, 200
FresnelMax=1
FresnelC=0.2
BrightnessAdjustment=0.8
UseMetallicReflections=1

; body paint matte
[Material_CarPaint_Matte]
Materials=
ColoredSpecular=1
FresnelMax = 1
;FresnelC = 0.1
AmbientSpecular = 1.0
AmbientSpecularEXP = 4.0
SpecularBase = 0.125, 4
SpecularSun = 0.0,5
PROP_...=detailUVMultiplier,0

; interior paint
[Material_CarPaint_Metal]
Materials=int_Body_Paint
AmbientSpecular = 0
FresnelC = 0.2
BrightnessAdjustment=0.5

; caliper paint
[Material_CarPaint_Solid]
Materials=ext_Wheel_brake_caliper
AmbientSpecular = 0
BrightnessAdjustment=0.5



; wheel chrome look
[Material_CarPaint_Metal]
Materials =ext_Wheel_paint1,ext_Wheel_paint2
FresnelC = 0.15
;FresnelMax = 0.55
AmbientSpecular=0.15

BrightnessAdjustment=1

[SHADER_REPLACEMENT_...]
MATERIALS=ext_Wheel_paint1
RESOURCE_0=txMaps
RESOURCE_TEXTURE_0=ao_rims_vulcan.dds


;;;;;;;;; BMW M3 E92 Pre-lCI By TGN Modding ;;;;;;;;; 
; Conversion: TGN Modding / Origin: Gran Turismo Sport
; Ambient Occlusion: Mr. Suzuki
; Interior Details: Mr. Suzuzi
; Physics: Mr. Suzuki
; Custom Shaders Patch: Mr. Suzuki
; Encrypted: YES

; 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

[ANALOG_INDICATOR_...]
INPUT=WATER_TEMPERATURE
NAME=ARROW_WATER_RPM
ZERO=-0.0
STEP=-1.195

[ANALOG_INDICATOR_...]
INPUT=OIL_TEMPERATURE
NAME=ARROW_TEMP
ZERO=5.0
STEP=-0.195

[INSTRUMENTS]
RPM_VINTAGE =1 ; set to 1 to enable the whole thing
RPM_VINTAGE_ROUND_TO = 0 ; to what RPMs needle should snap
RPM_VINTAGE_DELAY = 0.11 ; delay between updates
RPM_VINTAGE_SPEED_LAG = 0.80 ; inertia value, from 0 to 1 (needle won’t move with 1)
RPM_VINTAGE_LIMIT = 0 ; set to some

;;;;;;;;; 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=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.01
WIDTH=0.2

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.01
WIDTH=0.2

[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

[Material_Carbon]
Materials =ExtCarbon
Brightness=0.45
HasDetailNormals = 1
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend =0
DetailScale = 400
Smoothness=0.9

[BRAKEDISC_FX]
ACTIVE = 1   
REFRESH = 1          ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0         ; 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

ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0.0

[EXTRA_FX] ; Front + Taillights Glass Only
MASK_GBUFFER = 43_T , 205 , 117 , 38_T , 43_T , 123 ,123 , E92Headlights09 , E92Headlights08 , E92Headlights05 , E92Headlights04 , E92Headlights14 , E92Headlights15
SKIP_GBUFFER=

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

[SHADER_REPLACEMENT_...]
MATERIALS=SteerStitch
BLEND_MODE=ALPHA_TEST
[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend
MESHES =28
CULL_MODE=DOUBLESIDED
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
[SHADER_REPLACEMENT_...] ; Tyres
MATERIALS = TIRETHREAD , E34_M5_SIDEWALL
PROP_... = ksAmbient, 0.4
PROP_... = ksDiffuse, 0.4
PROP_... = fresnelEXP, 50
PROP_... = fresnelMaxLevel, 0.00
PROP_... = fresnelC, 0.00
PROP_... = ksSpecularEXP, 100
PROP_... = ksSpecular, 0.03
DOUBLE_FACE_SHADOW_BIASED = 1

[SHADER_REPLACEMENT_...] ; Int Alcantara
MATERIALS = IntAlcantaraTrimStuff
PROP_... = ksAmbient, 0.6
PROP_... = ksDiffuse, 0.35
PROP_... = fresnelEXP, 4.2
PROP_... = fresnelMaxLevel, 0.01
PROP_... = fresnelC, 0.01
PROP_... = ksSpecularEXP, 10
PROP_... = ksSpecular, 0.3
PROP_... = detailNormalBlend, .2
PROP_... = detailUVMultiplier, 6
DOUBLE_FACE_SHADOW_BIASED = 0

[Material_Glass] ; Red Taillights Glass
Materials = 
FilmIOR = 1.8
ExtraLightsAdjustment = 0.05
BrightnessAdjustment = 0.1
Refraction = 1
Desaturate = 0
ThicknessMult = 2

[Material_Glass] ; Windows
Materials = ExtWindows,ExtTintedGlass
FilmIOR = 2
ExtraLightsAdjustment =0
BrightnessAdjustment = .3
MaskPass=0.3
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=1.75
[Material_PhotoelasticGlass] ; Headlights
Meshes = 43_T , 205 , 117 , 38_T , 43_T ,  E92Headlights09 , E92Headlights08 , E92Headlights05 , E92Headlights04 , E92Headlights14 , E92Headlights15
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

[SHADER_REPLACEMENT_...]
MESHES = submesh_0.069
CULL_MODE = DOUBLESIDED


[WIPERS_TRACE_...]
SURFACE = ExtWindows , IntWindows
WIPERS = 146.001 , 147.001 ,143 , 144.001 , 145.001 , 148.001

[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW] ; Exhaust Glow
MESHES = 
COLOR = 25, 3, 0, 3
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 50
INPUT_MAX = 60
INPUT_LUT = (| 84 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3

[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=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.1 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=10 ; flame size
ANTILAG_INTERVAL_MAX=0.1
ANTILAG_INTERVAL_MIN=0.1
ANTILAG_TURBO_THRESHOLD=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=0.1 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=1.55 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; 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=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=50 ; 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=6500
LIMITER=0 ; on hitting the limiter
LIMITER_DELAY=0.2 ; delay, in seconds
LIMITER_INTENSITY=.1 ; flame size
LIMITER_RPM_THRESHOLD=6500 ; limiter flames will not shoot below this rpm

;;;;;;;;; Exterior Lights / By Mr. Suzuki ;;;;;;;;; 

[EMISSIVE_LIGHT_...] ; Lowbeam 1 
NAME=E92Headlights16,E92Headlights17
COLOR=100,110,120,0.3
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Lowbeam 2 - Leave Blank Unless Used
NAME=E92Headlights03.003_SUB2,E92Headlights03.003_SUB0,43_T.002,
COLOR=100,120,140,0.15
OFF_COLOR=100,120,140,0.15
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Lowbeam 2 - Leave Blank Unless Used
NAME=E92Headlights03.003_SUB1
COLOR=100,120,140,2.5
OFF_COLOR=100,120,140,2.5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
NAME=E92Headlights03.003_SUB3
COLOR=100,120,140,.15
OFF_COLOR=100,120,140,.15
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; Lowbeam 2 - Leave Blank Unless Used
NAME=Warninglightsbro007
COLOR=0,20,0,1
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INSIDE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=E92Headlights01,E92Headlights11
COLOR=100,110,120,0.2
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] ; High Beam
NAME=Warninglightsbro009
COLOR=0,5,20,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=INSIDE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] ; DRL Taillights - Colour MUST MATCH "50,2,-10"
NAME=41_T
COLOR=40, 20, 0, 0.3
LAG=0.1
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...] ; Brakelights - MUST be 3X DRL Taillights
NAME=bulbe_brakelights_SUB1, bulbe_brakelights_SUB0, bulbe_brakelights_SUB3, bulbe_brakelights_SUB2
COLOR=50, 40, 0,3
LAG=0.1
SIMULATE_HEATING=1
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...] ; Brakelights 2 - USE IF DRL + BRAKE IS SAME MESH
NAME=118
COLOR=50, 5, -10,5
LAG=0.1
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


[EMISSIVE_BRAKE_...]
NAME=
COLOR=110, 10, 10, 2
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 110, 10, 10, 2
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 4 ; sets frequency for blinking


[EMISSIVE_REVERSE_...] ; Reverse Lights
NAME = bulbe_revlights           ; name (one or more) of a mesh to glow
COLOR = 10,10,10,0.2      ; glowing color if condition is met
LAG = 0.0                   ; 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

[LIGHT_LICENSEPLATE] ; License Plate 
; no need to specify meshes names if material is using Plate_D.dds and Plate_NM.dds textures
MESHES=EXT_PLATE
OFFSET=-0, 0.02, -0.02
RANGE=0.3
RANGE_GRADIENT_OFFSET=0.4
SPOT=170
SPOT_SHARPNESS=0.2
COLOR=6
LAYOUT=TWO_ON_TOP ; other supported values: TWO_ON_TOP, ONE_ON_TOP, TWO_ON_BOTTOM, ONE_ON_BOTTOM

; Turn Signals 
[EMISSIVE_TURNSIGNAL_LEFT_...] ; Front Left Turnsignal
NAME=Warninglightsbro
COLOR=0,20,0
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Front Left Turnsignal
NAME=E92Headlights13
COLOR=100,20,0,10
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=FRONT
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Front Left Turnsignal w/DRL Enabled LEAVE BLANK IF NOT USED
NAME=Object001
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=FRONT
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Left Mid Turnsignal
NAME=Object003
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=MIDDLE
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Rear Left Turnsignal 
NAME=bulbe_turn_RL, int_turn_RL
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Front Right Turnsignal
NAME=E92Headlights02
COLOR=100,20,0,10
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=FRONT
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Front Right Turnsignal w/DRL Enabled LEAVE BLANK IF NOT USED
NAME=40
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=FRONT
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Mid Right Turnsignal
NAME=37_T
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=MIDDLE
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Rear Right Turnsignal 
NAME= int_turn_RR, bulbe_revlights.002
COLOR=100,10,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
CAST_LIGHT=1
LOCATION=REAR
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Rear Right Turnsignal 
NAME=Warninglightsbro006
COLOR=0,20,0
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

; Extra Option Lights - Could Be FogLights
[EMISSIVE_EXTRA_A_0] ; Front FogLight - Extra A
BIND_TO_EXTRA_A=1
NAME=119
COLOR=120,10,0,2
FALLBACK_HEADLIGHTS_COLOR=0,0,0
LAG=0
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_1] ; Rear FogLight - Extra A
BIND_TO_EXTRA_A=1
NAME=Warninglightsbro011
COLOR=120,10,0,1
FALLBACK_HEADLIGHTS_COLOR=0,0,0
LAG=0
SIMULATE_HEATING=0
LOCATION=INSIDE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0.5

; Interior Lights
[EMISSIVE_LIGHT_...] ; Cluster Light
NAME=Gauges_Alpha , 80 , RPM_Water_Gauge_RPM , SPEED_Gauge_COLOR
COLOR=2,1.8,1.5,.5
OFF_COLOR=2,1.8,1.5,.3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Arrows Light
NAME=SPEED_INDICATOR  , TEMP_INDICATOR , RPM_INDICATOR , FUEL_INDICATOR
COLOR=10,0,0
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Arrows Light
NAME=55 , 61 , 59 , 57 , Needles_Light
COLOR=20,5,0,2
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

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

[EMISSIVE_LIGHT_...] ; Buttons Light
NAME=STEER02 ,Buttons1 , Buttons002 , IntButtons2,Steeringwheelbro105
COLOR=20,5,0,.5
LAG=0.2
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0



---------------------------------- REFRACTION -------------------------------------------

[REFRACTING_HEADLIGHT_0]
SURFACE = reverselights
INSIDE = int_revlights, bulbe_revlights
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.040000
BOUNCED_BACK_MULT = 0.420000
BULB_BLUR_K = 2.600000
BULB_REFLECTION_K = -0.010000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 6.740000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.123263,-0.163353,0.978837
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 60.160000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 21.000000
F0 = 0.460000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.180000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.220000
IOR_FLYOUT_FLAT = 0.160000
LOD_BIAS = -0.800000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000363,-0.000860,-0.001388
MIRROR_POS = 0.010076,0.679544,-2.525953
NM_SHARE_EXT = 0.510000
NM_SHARE_INT = 0.670000
ORIGIN = 0.647779,0.729271,-2.260020
RADIUS = 0.083200
REFLECTIVENESS_DIFFUSE_MULT = 40.599998
REFLECTIVENESS_MULT = 1.700000
REFLECTIVE_GAMMA = 0.600000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.360000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1




[REFRACTING_HEADLIGHT_1]
SURFACE = turn_RL
INSIDE = int_turn_RL, bulbe_turn_RL
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.580000
BASE_EMISSIVE_K = 0.580000
BOUNCED_BACK_MULT = 0.460000
BULB_BLUR_K = 2.300000
BULB_REFLECTION_K = 0.390000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.400000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.143042,-0.097223,0.984930
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.410000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.550000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.510000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000303,0.012005,0.001256
MIRROR_POS = 0.014587,0.679170,-2.162169
NM_SHARE_EXT = 0.910000
NM_SHARE_INT = 0.590000
ORIGIN = 0.709471,0.669053,-2.512107
RADIUS = 0.286100
REFLECTIVENESS_DIFFUSE_MULT = 60.700001
REFLECTIVENESS_MULT = 7.900000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_2]
SURFACE = turn_RR
INSIDE = int_turn_RR, bulbe_revlights.002
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.000000
AMBIENT_MULT = 0.580000
BASE_EMISSIVE_K = 0.580000
BOUNCED_BACK_MULT = 0.460000
BULB_BLUR_K = 2.300000
BULB_REFLECTION_K = 0.390000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.400000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.116221,-0.027858,0.992833
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.410000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.550000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.510000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -0.940526,0.005841,0.340789
MIRROR_POS = 0.026279,0.685692,-2.175694
NM_SHARE_EXT = 0.910000
NM_SHARE_INT = 0.590000
ORIGIN = -0.695122,0.626358,-2.584644
RADIUS = 0.286100
REFLECTIVENESS_DIFFUSE_MULT = 60.700001
REFLECTIVENESS_MULT = 7.900000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1





[REFRACTING_HEADLIGHT_3]
SURFACE = brakelights
INSIDE = int_brakelights, bulbe_brakelights_SUB3, bulbe_brakelights_SUB2, bulbe_brakelights_SUB1, bulbe_brakelights_SUB0
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.040000
BOUNCED_BACK_MULT = 0.420000
BULB_BLUR_K = 2.600000
BULB_REFLECTION_K = -0.010000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 6.740000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.123263,-0.163354,0.978846
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 60.160000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 21.000000
F0 = 0.460000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.180000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.030000
IOR_FLYOUT_FLAT = 0.160000
LOD_BIAS = -0.800000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000363,-0.000860,-0.001388
MIRROR_POS = 0.010076,0.679544,-2.525953
NM_SHARE_EXT = 0.510000
NM_SHARE_INT = 0.670000
ORIGIN = 0.678532,0.728600,-2.257448
RADIUS = 0.083200
REFLECTIVENESS_DIFFUSE_MULT = 40.599998
REFLECTIVENESS_MULT = 1.700000
REFLECTIVE_GAMMA = 0.600000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.360000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_4]
SURFACE = 27_T
INSIDE = 29.002
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.040000
BOUNCED_BACK_MULT = 0.420000
BULB_BLUR_K = 2.600000
BULB_REFLECTION_K = -0.010000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 6.740000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.118087,-0.172837,0.977844
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 60.160000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 21.000000
F0 = 0.460000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.180000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.030000
IOR_FLYOUT_FLAT = 0.160000
LOD_BIAS = -0.800000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000363,-0.000860,-0.001388
MIRROR_POS = 0.010075,0.679550,-2.525953
NM_SHARE_EXT = 0.510000
NM_SHARE_INT = 0.670000
ORIGIN = 0.483196,0.736305,-2.273891
RADIUS = 0.187100
REFLECTIVENESS_DIFFUSE_MULT = 40.599998
REFLECTIVENESS_MULT = 1.700000
REFLECTIVE_GAMMA = 0.600000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.360000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_5]
SURFACE = 126
INSIDE = 29.002, 29
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.310000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 0.890000
BULB_BLUR_K = 2.600000
BULB_REFLECTION_K = -0.010000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 6.740000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.127523,-0.221160,0.966911
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 60.160000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 2.000000
F0 = 0.460000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.180000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 15.600000
INNER_SPECULAR_EXP = 59.000000
IOR = 1.080000
IOR_FLYOUT_FLAT = 0.150000
LOD_BIAS = -0.800000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000363,-0.000860,-0.001388
MIRROR_POS = 0.010075,0.679550,-2.525953
NM_SHARE_EXT = 0.510000
NM_SHARE_INT = 0.670000
ORIGIN = 0.553135,0.681808,-2.351391
RADIUS = 0.059600
REFLECTIVENESS_DIFFUSE_MULT = 40.599998
REFLECTIVENESS_MULT = 9.400000
REFLECTIVE_GAMMA = 0.200000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.120000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_6]
SURFACE = side_reflectors_B
INSIDE = inside_side_ref_b
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.000000
AMBIENT_MULT = 0.680000
BASE_EMISSIVE_K = 0.130000
BOUNCED_BACK_MULT = 0.970000
BULB_BLUR_K = 2.600000
BULB_REFLECTION_K = -0.010000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 6.740000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.919660,0.028107,0.391728
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 60.160000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 2.000000
F0 = 0.460000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.590000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 15.600000
INNER_SPECULAR_EXP = 59.000000
IOR = 1.280000
IOR_FLYOUT_FLAT = 0.200000
LOD_BIAS = -0.600000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000363,-0.000860,-0.001388
MIRROR_POS = 0.010075,0.679550,-2.525953
NM_SHARE_EXT = 0.710000
NM_SHARE_INT = 0.750000
ORIGIN = 1.007113,0.677734,-1.994884
RADIUS = 0.084500
REFLECTIVENESS_DIFFUSE_MULT = 51.000000
REFLECTIVENESS_MULT = 9.600000
REFLECTIVE_GAMMA = 0.100000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

[REFRACTING_HEADLIGHT_7]
SURFACE = side_ref_turns
INSIDE = int_side_ref_turns
SYNC_EMISSIVE_AUTO = 1


ABSORPTION = 0.000000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.040000
BOUNCED_BACK_MULT = 0.420000
BULB_BLUR_K = 2.600000
BULB_REFLECTION_K = -0.010000
CUSTOM_BULB_0 = 0.206000,0.500000,0.050000,0.000000
CUSTOM_BULB_1 = 0.806000,0.503000,0.050000,0.000000
CUSTOM_BULB_2 = 0.494000,0.516000,0.050000,0.000000
CUSTOM_BULB_3 = 0.533000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 6.740000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = -0.932931,-0.155769,0.324650
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 60.160000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 21.000000
F0 = 0.460000
GLASS_COLOR = 0.000100,0.000100,0.000100
GLASS_EMISSIVE_MULT = 0.180000
GLASS_EXTRA_THICKNESS = 0.000000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.220000
IOR_FLYOUT_FLAT = 0.160000
LOD_BIAS = -0.800000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000363,-0.000860,-0.001388
MIRROR_POS = 0.010076,0.679544,-2.525953
NM_SHARE_EXT = 0.510000
NM_SHARE_INT = 0.670000
ORIGIN = 1.035454,0.661842,-2.010571
RADIUS = 0.066600
REFLECTIVENESS_DIFFUSE_MULT = 40.599998
REFLECTIVENESS_MULT = 1.700000
REFLECTIVE_GAMMA = 0.600000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.360000
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1

------------------------------- VRAY IMPRO -------------------------------------

[SelfLight_Headlights]
ACTIVE=1
POSITION=, 0.494, 1.93
MIRROR=0.628
SPOT=120
RANGE=0.25
COLOR = 100
;RANGE_GRADIENT_OFFSET=0.59
BOUND_TO = E92Headlights16
DIRECTION = 0,0,1
EXTERIOR_ONLY=0
DIFFUSE_CONCENTRATION=1

[SelfLight_Headlights]
ACTIVE=1
POSITION=, 0.481, 1.97
MIRROR=0.503
SPOT=120
RANGE=0.4
COLOR = 100
;RANGE_GRADIENT_OFFSET=0.59
BOUND_TO = E92Headlights01
DIRECTION = 0,0,1
EXTERIOR_ONLY=0
DIFFUSE_CONCENTRATION=1



[LIGHT_HEADLIGHT_0] ; Headlights Both Low/Highbeam are located inside this
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=10
LAG=0.1
DIFFUSE_CONCENTRATION=0.5
DIRECTION=0, -0.1, 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.624
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0.0, 0.485, 1.80
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
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -.5, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.568
MIRROR_DIRECTION=0
POSITION=0.0, 0.673, -2.07
RANGE=7
RANGE_GRADIENT_OFFSET=0.35
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=100
SPOT_EDGE=0.135, 0.135, 0.135
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.4

[LIGHT_REVERSE_0] ; Reverse Lights
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 1, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.620
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
POSITION=0.0, 0.696, -1.99
RANGE=4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=155
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.4

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=2,1.8,1.5,150
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.367, 0.775, 0.822
DIRECTION=0,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=2,1.8,1.5,300
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.367, 0.775, 0.822
DIRECTION=0,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=2,1.8,1.5,150
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.0046, 0.766, 0.857
DIRECTION=0,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=2,1.8,1.5,300
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.0046, 0.766, 0.857
DIRECTION=0,0,-1
RANGE=.35
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=20,5,0,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.0141, 0.677, 0.789
DIRECTION=0,-.9,-1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=20,5,0,4
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.0141, 0.677, 0.789
DIRECTION=0,-.9,-1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0


[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=20,5,0,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.584, 0.671, -2.06
DIRECTION=0,-.9,-1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

[LIGHT_EXTRA_...] ; Interior Ambient Lighting (Cluster, Doors, Pedals, Navigation, Rear Seats)
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
COLOR=20,5,0,1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
FADE_AT=1.5
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.561, 0.669, -2.08
DIRECTION=0,-.9,-1
RANGE=.65
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=1
SPOT=120
SPOT_SHARPNESS=0

;;;;;;;;; Animation Config / By Mr. Suzuki ;;;;;;;;; 
[ANIMATION_0]
FILE=car_hood.ksanim
TIME= 2.0
BIND_TO_EXTRA_B=1

[ANIMATION_1]
FILE=car_door_L.ksanim
TIME= 0.9
BIND_TO_EXTRA_C=1

[ANIMATION_2]
FILE=car_door_R.ksanim
TIME= 0.9
BIND_TO_EXTRA_C=1

[ANIMATION_3]
FILE=car_door_RR.ksanim
TIME= 0.8
BIND_TO_EXTRA_C=1

[ANIMATION_4]
FILE=car_door_LR.ksanim
TIME= 0.8
BIND_TO_EXTRA_C=1

;;;;;;;;; Cluster Config / By Mr. Suzuki ;;;;;;;;; 
[CustomEmissiveMulti] ; Emissive Warning Lights
Meshes = WarningLights
Resolution = 812, 812
UseEmissive0AsFallback = 1
;Debug = 1 ; uncomment me to see the areas nicely
@ = MultiItem, Role = TURNSIGNAL_LEFT, Start = "62, 434", Size = "84, 104" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "-10, 10,-10 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "323.1, 422.7", Size = "91.1, 79.9", Color = "60,30,0",
@ = MultiItem, Role = DashWarningABS, Start = "500, 193", Size = "127, 54", Color = "60,30,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "60,30,0",
@ = MultiItem, Role = HANDBRAKE, Start = "670, 184", Size = "123, 68", Color = "80, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "-100, -100, 100",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "-10, 10, -10",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "10, 3, -50",
@ = MultiItem, Role = DashWarningTC, Start = "201, 184", Size = "110, 71", Color = "10, 3, -50",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "681, 438", Size = "68, 61", Color = "10, 3, -50", InputThreshold = 32, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt, Start = "161, 346", Size = "65, 76" , Color = "80, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "80, 0, 0",
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=11 ,InputInverse=1 , Lag=0.2, Color = "70,5,0", 

[EMISSIVE_...]
NAME=warning_wheel_damage
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,1
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

[EMISSIVE_...]
NAME=warning_engine
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=Warninglightsbro015
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,1
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 35
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_...]
NAME=warning_fuel
TOGGLE_VISIBILITY = 0
COLOR=60,20,0.1,1
INPUT=FUEL
INPUT_THRESHOLD = 12
INPUT_THRESHOLD_INVERSE = 1
LAG=0.4

[EMISSIVE_HAZARD_0]
COLOR=40,4,4,1
NAME=Warning_Button
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0.2
LAG=0.2

[EMISSIVE_ABS_INACTION_0]
NAME=Warninglightsbro001
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_0]
NAME=Warninglightsbro012
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_1]
NAME=Warninglightsbro003
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_2]
NAME=warning_traction_control_off2
TOGGLE_VISIBILITY = 0
COLOR=0
COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=60,12,0.2,1
NAME=Warninglightsbro013
TOGGLE_VISIBILITY = 0
LAG=0.2

[EMISSIVE_HANDBRAKE_0]
NAME=Warninglightsbro002
TOGGLE_VISIBILITY = 0
COLOR=60,2,0.2,1
LAG=0.2

[EMISSIVE_...]
NAME=Warninglightsbro010, Warninglightsbro005
TOGGLE_VISIBILITY = 0
COLOR=60,0,0,1
INPUT=STALLED
LAG=0.2

[EMISSIVE_...]
NAME=Warninglightsbro016, Warninglightsbro017
TOGGLE_VISIBILITY = 0
COLOR=60,12,0,1
INPUT=STALLED
LAG=0.2

[EMISSIVE_...]
NAME=Warninglightsbro004
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 800
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=warning_oil
TOGGLE_VISIBILITY = 0
COLOR=60,0,0,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 910
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=Warninglightsbro014
TOGGLE_VISIBILITY = 0
COLOR=60,12,0,1
INPUT=STALLED
LAG=0.2

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

[ODOMETER_TRIP]
DIGITAL_ITEM=3
DIGITAL_ITEM_NUMBER_FORMAT=05.1
UPPER_BOUND=9999

[DI_FUEL_ESTIMATE_DISTANCE_TOTAL_...]
DIGITAL_ITEM = 10
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

[TURBO_BOOST_SERIE_] ; Dynamic Boost Range
PREFIX=
START_INDEX=
END_INDEX=
BOOST_START=-0.0
BOOST_END=1.1

[RPM_SERIE_] ; Digital RPM Gauge
PREFIX=
START_INDEX=0
END_INDEX=25
RPM_START=0
RPM_END=

[LED_] ; RPM Blink LED
OBJECT_NAME=
RPM_SWITCH=6500
EMISSIVE=15,15,0
DIFFUSE=0.3" 

;;;;;;;;; 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=2
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
ENGINE_INT = 1
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 = 2.5
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = .7
SKID_INT = .7



[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 = (| 650=1000 | 7000=7150|)
ENGINE_INT_RPMS = (| 650=1000 | 7000=7150|)

;;;;;;;;; Display Settings [CAREFULL WITH THIS] / By Mr. Suzuki ;;;;;;;;; 
[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = 80
Resolution = 820, 820
Size = 820, 820
Offset = 0, 0
Scale = 1,0.59
RearCameraPosition = 0.0056, 0.914, -1.95
aftermarketComponent=1

;;;;;;;;; Spotify Integration ;;;;;;;;; 

[CAR_STEREO_...] ; Currently Set For Audi
ACTIVE = $" read('csp/version', 0) >= 1279 "

MESHES = 
RESOLUTION = 470 , 330 ; matches values in navigator 
DISPLAY_POS = 0, -93
DISPLAY_SIZE = 1028 , 548
COLOR = 1, 1, 1, 1
FADE_WHEN_INACTIVE = 1.00
DITHERING = 20

; artist text
TEXT_CSP_0 = "{Artist}"
TEXT_CSP_0_NOALBUM = "{Artist}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = "Please Connect Device"
TEXT_CSP_0_ALIGN_LAYOUT = 0
TEXT_CSP_0_START = 50, 218
TEXT_CSP_0_SIZE = 350, 400
TEXT_CSP_0_FONT_TYPE = ARIAL
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 1, 1
TEXT_CSP_0_BOLD = 0

; track text
TEXT_CSP_3 = "{Track}"
TEXT_CSP_3_NOALBUM = "{Track}"
TEXT_CSP_3_NOARTIST = "{Track}"
TEXT_CSP_3_FALLBACK = "Unknown Song"
TEXT_CSP_3_ALIGN_LAYOUT = 0
TEXT_CSP_3_START = 50, 180
TEXT_CSP_3_SIZE = 350, 200
TEXT_CSP_3_FONT_TYPE = ARIAL
TEXT_CSP_3_Z_INDEX = 10
TEXT_CSP_3_SCALE = 1, 1
TEXT_CSP_3_BOLD = 0

; album text
TEXT_CSP_4 = "{Album}"
TEXT_CSP_4_NOALBUM = "{Album}"
TEXT_CSP_4_NOARTIST = "{Album}"
TEXT_CSP_4_FALLBACK = "Unknown Album"
TEXT_CSP_4_ALIGN_LAYOUT = 0
TEXT_CSP_4_START = 50, 252
TEXT_CSP_4_SIZE = 385, 200
TEXT_CSP_4_FONT_TYPE = ARIAL
TEXT_CSP_4_Z_INDEX = 10
TEXT_CSP_4_SCALE = 1, 1
TEXT_CSP_4_BOLD = 

; track position
TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
TEXT_CSP_1_ALIGN_LAYOUT = 0
TEXT_CSP_1_START = 15, 307
TEXT_CSP_1_SIZE = 620, 48
TEXT_CSP_1_FONT_TYPE = MONOSPACE
TEXT_CSP_1_Z_INDEX = 10
TEXT_CSP_1_SCALE = 0.8
TEXT_CSP_1_BOLD = 

; track duration
TEXT_CSP_2 = "{Duration:%02d:%02d//--:--}"
TEXT_CSP_2_ALIGN_LAYOUT = 1, 0
TEXT_CSP_2_START = 300, 307
TEXT_CSP_2_SIZE = 100, 50
TEXT_CSP_2_FONT_TYPE = MONOSPACE
TEXT_CSP_2_Z_INDEX = 10
TEXT_CSP_2_SCALE = 0.8
TEXT_CSP_2_BOLD = 

; progress bar background
RECT_5 = 1
RECT_5_START = 80, 315
RECT_5_SIZE = 250, 5
RECT_5_Z_INDEX = 11
RECT_5_COLOR = 0.2, 0., 0., 0.5

; progress bar background
RECT_6 = 1
RECT_6_START = 80, 315
RECT_6_SIZE = 250, 5
RECT_6_Z_INDEX = 12
RECT_6_COLOR = 0.8, 0.5, 0.25, 1
RECT_6_SCALE_WITH_PROGRESS = 1, 0

; animation below album cover
ANIMATION_0 = 16, 4
ANIMATION_0_START = 15, 323
ANIMATION_0_BLOCK = 20, 2.2
ANIMATION_0_MARGIN = 6, 3
ANIMATION_0_BASE_ROW = BUTTOM

[SCRIPTABLE_DISPLAY_...] ; Reverse Cam
MESHES =  
RESOLUTION = 470 , 330 ; matches values in navigator 
DISPLAY_POS = 0, 0
DISPLAY_SIZE = 1028 , 548
FORCE_UPDATE_AFTER = RENDERING_CAMERA_0  ; this display is going to be updated each time navigator is drawn
KEEP_BACKGROUND = 1               ; and without clearing step, so we would draw on top of navigator
SCRIPT = '
function update()
  if car.gear ~= -1 then  
    -- If gear is not reverse, activate navigator:
    ac.setDynamicTextureShift("NAVIGATOR_0", 1)  -- this function sets its opacity, it can do more
    ac.setRenderingCameraActive("RENDERING_CAMERA_0", false)  -- pause rendering camera
    return  -- and we’re done here, so let’s stop
  end

  -- Gear is reverse!
  ac.setDynamicTextureShift("NAVIGATOR_0", 0)  -- let’s stop navigator
  ac.setRenderingCameraActive("RENDERING_CAMERA_0", true)  -- activate rendering camera
  display.image{pos = vec2(0, 0), size = vec2(476, 316), image = "dynamic::camera_rear_distorted"}  -- and draw fisheye camera

  -- And we’re done! But for a bit of extra authenticity let’s add lines with trajectory:
  local startL = vec2(60, 250)  -- one thing to note: I haven’t really properly calibrated those lines yet
  local startR = vec2(476 - 60, 250)
  local direction = vec2(35, -25):normalize()
  local lineLen = 160
  local steps = 9
  local steerOffset = -car.steer * 0.12
  local currentPosL = startL
  local currentPosR = startR
  local color = rgbm(1, 0, 0, 1)
  for i = 1, steps do
    local newPosL = startL + direction * (i * (lineLen / steps)) + vec2(steerOffset * (i / steps) ^ 2, 0)
    local newPosR = startR + vec2(-direction.x, direction.y) * (i * (lineLen / steps)) + vec2(steerOffset * (i / steps) ^ 2, 0)
    local drawAcrossColor = color
    if i == 4 then
      color = rgbm(1, 1, 0, 1)
    elseif i == 7 then
      color = rgbm(0, 1, 0, 1)
    else
      drawAcrossColor = i == 9 and color or nil
    end
    ui.drawLine(currentPosL, newPosL, color, 4)
    ui.drawLine(currentPosR, newPosR, color, 4)
    if drawAcrossColor ~= nil then
      ui.drawLine(currentPosL, currentPosR, drawAcrossColor, 4)
    end
    currentPosL = newPosL
    currentPosR = newPosR
    direction:add(vec2(0, 0.02)):normalize()
  end

  -- And a warning:
  display.rect{pos = vec2(40, 276), size = vec2(396, 32), color = rgbm(0, 0, 0, 0.8 )}
  display.text{pos = vec2(40, 286), letter = vec2(12, 20), text = "Check surroundings for safety", font = "aria", width = 396, alignment = 0.5 }
end'

[RENDERING_CAMERA_0]
DYNAMIC_TEXTURE_ID = camera_rear ; here, we will create “dynamic::camera_rear” texture
POSITION = -0.0859, 0.91, -2.4
DIRECTION = 0, -.2, -1
INCLUDE_CAR = 1
REFRESH_RATE = 60  ; doesn’t need to update too often, those in-car cameras are usually pretty nasty
INTERIOR_ONLY = 1  ; stop rendering if camera is not interior one
CLIP_NEAR = 0.005  ; the way it’s positioned, it needs to render things that are very close (bits of car)
FOV = 140         ; huge FOV to get that authentic look
RESOLUTION = 1920 , 1080 ; and massive resolution too
ACTIVE_BY_DEFAULT = 0 ; inactive by default, activated by a script
WITH_LIGHTING = 1
; RELATIVE_TO = DOOR_L

[TEXTURE_PREPROCESSING_...]
DYNAMIC_TEXTURE_ID = camera_rear_distorted ; new “dynamic::camera_rear_distorted” texture
TEXTURE_SOURCE = dynamic::camera_rear ; use previously specificed camera texture
RESOLUTION = 476, 316 ; target resolution matches screen one, RESOLUTION for camera is just that multiplied by four
EFFECT = FISHEYE  ; use BASIC if you only need color correction (SATURATION, BRIGHTNESS, etc.)
INTENSITY = 1.5   ; intensity of fisheye effect, adjusted for 170° FOV
EXPOSURE = 0.56      ; this value activates tonemapping to get image from HDR to LDR space
BRIGHTNESS = 0.7  ; a bit dimmer

---------------------------------------MATERIALS-----------------------------------
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Meshes = EXT_sunroof_glass
ThicknessMult = 5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 0.45
BrightnessAdjustment = 1
PROP_1... = ksAmbient, 0.35
IOR = 1.490            ; looks better like this
MaskPassColor = 0, 255, 96  ; mask pass color adjustment

[Material_Glass]
Meshes=EXT_frontwindows, EXT_rearwindows
IOR = 2.4              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 2  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
MaskPass = 1.4            ; mask pass opacity
MaskPassColor = 40, 60, 43  ; mask pass color adjustment

[Material_Glass]
Meshes=EXT_TL_main_glass, EXT_TL_glass_detail, EXT_FL_fog_glass_trim, INT_thirdbrake_glass
ThicknessMult = 2.4
FilmIOR = 2.2
Desaturate = 0

[Material_Glass]
Meshes=INT_overhead_light
ThicknessMult = 1.5
FilmIOR = 1.4
Desaturate = 0

[Material_Glass]
Meshes=EXT_TL_red_plain
Materials=red_lenses
FilmIOR = 1.6
UseNormalMap = 1
UseNormalMapWithAlpha = 1
ThicknessMult = 3
Desaturate = 0
MaskPass = 20
MaskPassColor = 10, 0, 0

[INCLUDE: common/materials_interior.ini]
[Material_Velvet_v2]
Materials = int_carpet, int_headliner
DetailNormalTexture = common/pbr_carpet.dds
BrightnessAdjustment=0.12
UseClothShading = 1
Reflectance = 0.1
DetailScale = 48
ClothSheenColor = 1, 1, 1

[Material_Leather]
Materials= int_leather_rough
BrightnessAdjustment=0.48
Reflectance = 0.1
DetailScale=45
DetailNormalBlend=0.9

[Material_Leather]
Materials= int_steer_leather
BrightnessAdjustment=0.1
Reflectance = 0.2
DetailScale=16
DetailNormalBlend=0.9

[Material_Plastic]
Materials = int_leather_smooth
Reflectance = 0.1
BrightnessAdjustment = 0.2
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.4
DetailNormalTexture = common/pbr_plastic.dds
DetailScale=20
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Plastic]
Materials = int_black_plastic
Reflectance = 0.15
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailScale=45
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Plastic]
Materials = int_colored_plastic
Reflectance = 0.15
BrightnessAdjustment = 0.2
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailScale=45
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Plastic]
Meshes =Frthin003
Reflectance = 0.15
BrightnessAdjustment = 0.1


[Material_Plastic]
Materials = ext_red_plain
Reflectance = 0.13
DetailNormalPBRSecondaryColor = 15, 2, 2, 1
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Plastic]
Meshes = EXT_radiator, EXT_dark_plastic
OcclusionMult=0.7
Reflectance = 0.1
DetailNormalPBRSecondaryColor = 2, 2, 2, 1
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailNormalBlend = 0.5

[Material_InteriorPBRDetail]
Meshes = EXT_TL_chrome_trim, INT_chrome, EXT_keyholes, EXT_chrome_silver
UseNormalMap = 1
ColorSource=DIFFUSE
OcclusionMult=0.9
Brightness=0.2
Metalness=0.2
Reflectance=0.5
Smoothness=1
CubemapReflectionBlur=0

[Material_InteriorPBRDetail]
Meshes =submesh_1.177
UseNormalMap = 1
ColorSource=DIFFUSE
OcclusionMult=0.9
Brightness=0.2
Metalness=0.2
Reflectance=0.5
Smoothness=1
CubemapReflectionBlur=0

[Material_InteriorPBRDetail]
Materials = ext_chrome_matte
UseNormalMap = 1
ColorSource=DIFFUSE
OcclusionMult=0.9
Brightness=0.2
Metalness=0.2
Reflectance=0.5
Smoothness=1
CubemapReflectionBlur=0

[Material_InteriorPBRDetail]
Materials = Headlights_Chrome_Ref.001
UseNormalMap = 1
ColorSource=DIFFUSE
OcclusionMult=0.3
Brightness=0.1
Metalness=0.4
Reflectance=0.5
Smoothness=1
CubemapReflectionBlur=0

[Material_Plastic]
Materials = ExtPlastic
DetailNormalBlend=0.5


[INCLUDE: materials_license_plate.ini]
[Material_LicensePlate_Europe]
ACTIVE=1



[Material_Glass]
Materials=
FilmIOR=2
MaskPass=0.3
EXTRA_MASK_PASS_COLOR=0,255,255
ThicknessMult=2

[Material_Leather]
Materials=int_leather_paint1
DetailScale=120
Smoothness=0.6
Brightness=1
DetailTextureBlur=0
DetailNormalBlend=1

[Material_Metal_v2]
Materials = ExtChrome
DetailNormalPBRSmoothness=0.8

[INCLUDE: common/materials_interior.ini]

; License Plate Shader

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_LP_US
PROP_0 = ksSpecular, 0.025
PROP_1 = ksSpecularEXP, 40.05

[SHADER_REPLACEMENT_...]
MATERIALS =IntSpeakers
BLEND_MODE=OPAQUE


[SHADER_REPLACEMENT_...]
MATERIALS =Emissive_Cluster_Alpha
IS_TRANSPARENT=1
[SHADER_REPLACEMENT_...]
MATERIALS =RPM_Water_Gauge_Temp
BLEND_MODE=ALPHA_BLEND
IS_TRANSPARENT=0
IS_VISIBLE=0
[SHADER_REPLACEMENT_...]
MATERIALS =TIRES
PROP_0 = ksSpecular, 0.03
PROP_1 = ksSpecularEXP, 15
PROP_2 = ksDiffuse, 0.135
PROP_3 = ksAmbient, 0.135
; License Plate Frame Plastic

[Material_Plastic_v2]
Materials=EXT_Lp_Plastic
Brightness = 0.015
DetailScale =15
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