[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.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]

[DATA] 
DISABLE_LIGHTSINI = 1


=================================== TURN SIGNALS =============================


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= bulbe_turn_RL
COLOR=40, 6, 0, 30
LAG=0.0
SIMULATE_HEATING=0 
LOCATION=LEFT

[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.11, 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=0.5, 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

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=
COLOR=0, 20, 0, 1
LAG=0.0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME= Body.009, Body.006
COLOR=40, 6, 0, 15
LAG=0.0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME= bulbe_midturn_L
COLOR=40, 4, 0, 4
LAG=0.0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= bulbe_turn_RR 
COLOR=40, 6, 0, 30
LAG=0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= bulbe_midturn_R
COLOR=40, 4, 0, 4
LAG=0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME= Body.008, Body.022
COLOR=40, 6, 0, 15
LAG=0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME= Object028
COLOR=0, 20, 0, 1
LAG=0
SIMULATE_HEATING=0 
LOCATION=NONE

[EMISSIVE_HAZARD_0]
COLOR=40,0,0,1
NAME= warning_hazards
FALLBACK_HEADLIGHTS_COLOR=40,4,4,0
LAG=0.2
BLINK_FREQENCY_HZ=1.84 

[SCRIPTABLE_DISPLAY_...]
MESHES = mmp_koku_SUB1
SCRIPT = script.lua

-----------------PLATELIGHT------------------------

[LIGHT_LICENSEPLATE]
MESHES=black
OFFSET=0.0, 0.02, -0.0
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.15
SPOT=190
SPOT_SHARPNESS=0.02
COLOR=10,10,10,2
MIRROR=0, 0, 0
FALLBACK_EMISSIVE=2, 2 , 1.8, 3
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=ONE_ON_TOP
FADE_AT=180
FADE_SMOOTH=1
ACTIVE=1
AFFECTS_TRACK=1

================== EXTERIOR & INTERIOR LIGHTS ===========================

[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = Body.026
COLOR= 25,2,0,0.5
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1
FALLBACK_BRAKES_COLOR=80,3,0,15
FALLBACK_BRAKES_COLOR_HIGHER=1

[EMISSIVE_BRAKE_0]
NAME= Body.015
COLOR=200,5,0,15
LAG=0.4
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = Body.010
COLOR= 4,1,0,2
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] CLUSTERS
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = mer_c32amg_04_symbols_diff, Object029, mer_c32amg_04_gauges_lite, STEER_HR-4
COLOR= 4,1,0,2
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = Body.017
COLOR= 20,12,5,5
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] CLUSTERS
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = arrowspeed_002, arrow_rpm001, arrow_rpm002, arrow_rpm001.001
COLOR= 5,0,0,1
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] DIGITAL DATA
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = 
COLOR= 21,3,0,1
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] Backlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME =
COLOR= 15,15,19,5
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1


[EMISSIVE_HIGHBEAM_...]
NAME=Body.018
COLOR = 20,12,5,0.01
LAG=0.1
OFF_COLOR=0,0,0
CAST_LIGHT=0
SIMULATE_HEATING=0.3

[LIGHT_HEADLIGHT_1]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=20,12,5,1.1.5
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.4
MIRROR_DIRECTION=0
POPUP_ENABLED=0
POSITION=0.0, 0.485, 2.2
RANGE=200
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=80
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

[EMISSIVE_REVERSE_0]
NAME = Body.023
COLOR = 10, 10, 10, 30
LAG = 0.4
SIMULATE_HEATING =0

[EMISSIVE_...]
INPUT=LIGHT 
BIND_TO_HEADLIGHTS=1
NAME = Interior.008
COLOR= 1,1,1,2
LAG=0.1
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...]
INPUT=LIGHT 
BIND_TO_HEADLIGHTS=1
NAME = Interior.021
COLOR= 1,1,1,10
LAG=0.1
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...]
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = Body.004
COLOR= 1,3,5,12
LAG=0.9
SIMULATE_HEATING=0
AFFECTS_TRACK=1




----------------------------------- GLASS ------------------------------------------------



[INCLUDE: common/materials_glass.ini]

[REFLECTIONS_FX]
SKIP_GBUFFER = material:glass22


[Material_Glass]
Materials = WindowsEXT 
ThicknessMult = 1.5
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 0
FilmIOR=2

[Material_PhotoelasticGlass]
Materials = glass22 
FilmIOR=1.5
ThicknessMult = 1.5

[Material_Glass]
Materials = glass22 
ThicknessMult = 2
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 0
FilmIOR=2.3


------------------------- BRAKE FX -------------------------------



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


---------------------------------------- BRAKE & TAILS LIGHTS EXTRA -------------------------------------------

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0, 0, 4
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.480602
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=1, 0.0478983, 0, 2
OFF_FADE_MULT=0.764696
OFF_MIRROR=0.499414
OFF_MULT=0.1
OFF_POSITION=0, 0.1, -3
OFF_RANGE_MULT=0.831926
POSITION=-0.1, 0.9, -2.3"
RANGE=5
RANGE_GRADIENT_OFFSET=0.275
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=160
SPOT_EDGE=0.406, 0.406, 0.406
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3675


[LIGHT_EXTRA_0_REARLIGHTS]
;taillight sprite to road
BOUND_TO= bulbe_idle_lights 
BOUND_EMISSIVE_MAX=20
BOUND_EXP= 0.5
POSITION=-0.1, 0.75, -2.3
MIRROR=0.5
DIRECTION=-0.1, 0, -1
AFFECTS_TRACK=1
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
SPECULAR_MULT=3
DIFFUSE_CONCENTRATION=0.88
SPOT=170
SPOT_SHARPNESS=0.1
FADE_AT=450
FADE_SMOOTH=5
RANGE=4
RANGE_GRADIENT_OFFSET=0.25
COLOR=3, 0.25, 0, 0.3



----------------------------- LIGHTING INSIDE WORK ---------------------------------


[LIGHT_EXTRA_...] ; 
BOUND_TO= Body.004
COLOR=25,90,160,0.1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=999
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.26, 0.914, 0.658
DIRECTION=0,-1,-2
RANGE=1.25
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=140
SPOT_SHARPNESS=0


[LIGHT_EXTRA_...] ; 
BOUND_TO= Body.004
COLOR=25,90,160,0.1
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=999
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.26, 0.914, 0.658
DIRECTION=0,-1,-2
RANGE=1.25
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=140
SPOT_SHARPNESS=0


[LIGHT_EXTRA_...] ; 
BOUND_TO= Body.004
COLOR=25,90,160,0.3
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=999
FADE_SMOOTH=5
MIRROR=0.0
POSITION=-0.437, 1, -0.385
DIRECTION=0,-3,-1
RANGE=1.00
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=110
SPOT_SHARPNESS=0


[LIGHT_EXTRA_...] ; 
BOUND_TO= Body.004
COLOR=25,90,160,0.3
DIFFUSE_CONCENTRATION=0.9
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=999
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.437, 1, -0.385
DIRECTION=0,-3,-1
RANGE=1.00
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=110
SPOT_SHARPNESS=0



[LIGHT_EXTRA_...] ; 
BOUND_TO= Body.004
COLOR=25,90,160,0.3
DIFFUSE_CONCENTRATION=0.8
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=999
FADE_SMOOTH=5
MIRROR=0.0
POSITION=0.007, 1.2, 0.165
DIRECTION=0,-0,-1
RANGE=0.6
RANGE_GRADIENT_OFFSET=0.0
SPECULAR_MULT=5
SPOT=180
SPOT_SHARPNESS=0.9



--------------------------------------------- WIPER BLADE ----------------------------------------------------------



[WIPERS_TRACE_...]
SURFACE = Body.002 
WIPERS= polymsh35.001_SUB0, polymsh35.001_SUB1 

[ANIMATED_WIPER_...]
MESHES = polymsh35.001_SUB0, polymsh35.001_SUB1
UNDERLYING_SURFACE = Body.002 
DEBUG = 0 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = polymsh35.001_SUB0, polymsh35.001_SUB1   
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1


[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = polymsh35.001_SUB0, polymsh35.001_SUB1
UNDERLYING_SURFACE = Body.002
GROUP_0 = 'polymsh35.001_SUB0@A=*', 'polymsh35.001_SUB1@A=*'
GROUP_0_ANGLE_TO = -145.800003
GROUP_0_AXIS = 0.106561, 0.929419, 0.353305
GROUP_0_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_0_END = 0.746915, 0.952371, 0.895501
GROUP_0_PIVOT = -0.001692, 0.934181, 1.113602
GROUP_0_RUBBER_FROM = 0.075802, 0.980469, 1.064178
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.024066
GROUP_0_RUBBER_OFFSET_POS = 0.457222
GROUP_0_RUBBER_TO = 0.745588, 0.949379, 0.895241
GROUP_0_BASE_AXIS = 0.106561, 0.929419, 0.353305
GROUP_0_BASE_PIVOT = -0.001692, 0.934181, 1.113602






























