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

------------------------------------------ EXTERIOR PBR

[Material_Glass]
Materials=ExtTaillightRedGlass
FilmIOR=2.6
ThicknessMult = 1
ProfileFix = 0.05
MaskPass = 500           ; mask pass opacity
MaskPassColor = 35, 05, 05  ; mask pass color adjustment

[Material_Glass]
Meshes=d_glass_03, d_glass_04, vd_glass_01
FilmIOR=1.7
ThicknessMult = 9
ProfileFix = 0.06
MaskPass = 0500           ; mask pass opacity
MaskPassColor = -10, -10, -10  ; mask pass color adjustment

[Material_Glass]
Meshes=vd_glass_002, d_glass_005, d_glass_007
FilmIOR=1.15
ThicknessMult = 4
ProfileFix = 0.06
MaskPass = 0500           ; mask pass opacity
MaskPassColor = -10, -10, -10  ; mask pass color adjustment

[Material_Glass]
Meshes=glass_04
FilmIOR=2.6
ThicknessMult = 1
ProfileFix = 0.05
MaskPass = 0500           ; mask pass opacity
MaskPassColor = 0, 0, 0.3 ; mask pass color adjustment

[Material_Plastic_v2] 
Materials=black_gloss
OcclusionMap =0.2
BrightnessAdjustment = 0.1
Metalness = 0.3
DetailScale= 200
Reflectance = 0.5
ApplyTilingFix=1
DetailNormalIntensity=1
LocalReflectionsSharpness = 0.9

[Material_Metal_v2]
Materials=ExtLightChrome, WheelChrome
OcclusionMap = 0.7
BrightnessAdjustment = 0.3
Metalness = 0.9
DetailScale= 1
Reflectance = 0.9
ApplyTilingFix=1
DetailNormalIntensity=0
LocalReflectionsSharpness = 0.7

[Material_Plastic_v2]
Materials=ExtGlossBlackPlastic2, ExtGlossBlackPlasticNoAo
Smoothness = 0.3
Reflectance = 0.1
Brightness=0.1
DetailScale= 30
ApplyTilingFix=1
DetailNormalIntensity=1

[Material_Metal_v2]
Materials=ExtBadgeChrome, silverGrille
OcclusionMap = 0.2
BrightnessAdjustment = 0.1
Metalness = 0.5
DetailScale= 1
Reflectance = 0.9
ApplyTilingFix=1
DetailNormalIntensity=0
LocalReflectionsSharpness = 0.4

[Material_Metal_v2]
Meshes=chrome_26
OcclusionMap = 0.2
BrightnessAdjustment = 0.1
Metalness = 0.5
DetailScale= 1
Reflectance = 0.9
ApplyTilingFix=1
DetailNormalIntensity=0
LocalReflectionsSharpness = 0.4

[Material_LicensePlate_Europe]
Materials=RearPlate, FrontPlate
LettersDarkening = 0.85
LettersSpecularDarkening = 0.5
BounceBackBrightness = 0.5
LettersCenter = 0.5, 0.5
LettersSize = 0.7, 0.8
InsideCenter = 0.5, 0.5
InsideSize = 0.964, 0.88
InsideRadius = 0.03, 0.12
TextureRatio = 4

[Material_Metal_v2]
Materials=INT2SatinAluminium
OcclusionMap = 0.9
BrightnessAdjustment = 0.15
Metalness = 0.1
DetailScale= 1
Reflectance = 0.1
ApplyTilingFix=1
DetailNormalIntensity=0
LocalReflectionsSharpness = 0.1

------------------------------------------ INTERIOR PBR

[Material_Leather]
Meshes=Int1FauxLeather
OcclusionMap =0.7
Brightness=0.0
DetailScale=260
ApplyTilingFix=1
Smoothness = 0.7
Reflectance = 0.1
DetailNormalBlend=0.9

[Material_Leather]
Meshes=Int3LeatherColour, Int3LeatherBlack
OcclusionMap =0.4
Brightness=0.0
DetailScale=460
ApplyTilingFix=0
Smoothness = 0.7
Reflectance = 0.1
DetailNormalBlend=0.9

[Material_Metal_v2]
Materials=Int2Chrome
Metalness = 0.2
DetailScale=20
BrightnessAdjustment = 0.9
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.2
OcclusionMap = 0.2
CubemapReflectionBlur = 0.3

[Material_Metal_v2]
Meshes=skel_mesh_148
Metalness = 0.2
DetailScale=20
BrightnessAdjustment = 0.9
DetailNormalBlend = 1
LocalReflectionsSharpness = 0.2
OcclusionMap = 0.6
CubemapReflectionBlur = 0.3

[Material_Plastic_v2]
Materials=Int1PlasticSmooth
Smoothness = 0.05
OcclusionMap=0.4
Reflectance = 0.13
DetailScale= 400
ApplyTilingFix=1
DetailNormalIntensity=1
BrightnessAdjustment =0.0

[Material_Carbon]
Meshes=inteior_white_03, inteior_white_006
HasDetailNormals =1
Smoothness = 0.9
Reflectance = 0.1
CubemapReflectionBlur = 0
UseClearCoat = 1
ClearCoatF0 = 0.3
ClearCoatSmoothness = 0.6
ClearCoatIntensity = 0.9
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailScale = 150
BrightnessAdjustment=0.0

[Material_Carbon]
Meshes=seatbeltr_a_SUB8
HasDetailNormals =1
Smoothness = 0.9
Reflectance = 0.1
CubemapReflectionBlur = 0
UseClearCoat = 1
ClearCoatF0 = 0.2
ClearCoatSmoothness = 0.6
ClearCoatIntensity = 0.9
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailScale = 350
BrightnessAdjustment=0.0

[Material_Fur]
Materials=Int3Alcantara
FurLayers = 2         ; how many layers fur has (or, how many times mesh is rendered), higher values are more expensive, so be careful
FurScale = 0.2          ; fur “depth”
FurFacingScale = 1  ; optional reduction of fur “depth” for surfaces facing camera, not accurate, of course, but might help to make it look better
FurGravityFactor = 0  ; how much fur is pushed down
FurUseTextures = 1    ; set to 0 to rely only on noise texture and to not use alphas from txMaps and txNormalDetail
FurFidelityScale = 1.2  ; scale of noise texture (set to 0 to disable noise texture)
FurOcclusion = 0.58    ; how bright should be lower areas 
FurRimExponent = 100    ; exponent for rim lighting, increase to reduce it on areas facing viewer
FurAmbient = 1        ; brightness of rim lighting (both vertex AO and red channel of txMaps are taken into account)
FurDiffuse = 1        ; brightness of sun and extra lights for some sort of backlit


------------------------------------------ INTERIOR LIGHTING

[EMISSIVE_LIGHT_...] ; Interior Buttons
NAME= Object1111117, centerstackbezels_a_SUB9, mer_slk55amg_12_cockpit_interior_badge_, centerstackbezels_a_SUB9, centerconsolebezels_a_SUB15, 
COLOR=20,20,20, 1
OFF_COLOR=2,2,2,0.3
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[EMISSIVE_LIGHT_...] ; Interior Buttons
NAME=Object040, Object042, Object041, Object043
COLOR=20,20,20, 0.1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[EMISSIVE_LIGHT_...] ; Interior Buttons
NAME=Object044, Object039, Object038, centerstackbezels_a_SUB2, Object352
COLOR=20,20,20, 0.1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

----------------- WARNING LIGHTS

[EMISSIVE_HAZARD_0]
NAME=Object029
COLOR=5,0,0
OFF_COLOR=2,0,0,0.2
LAG=0
LOCATION=NONE

[EMISSIVE_TRACTIONCONTROL_0]
NAME= centerstackbezels_a_centerstackbezels_a.007
COLOR=15,5,0
OFF_COLOR=2,2,2,0.3
LAG=0
LOCATION=NONE
INPUT_THRESHOLD_INVERSE=1

[EMISSIVE_HANDBRAKE_0]
NAME= Object029
COLOR=5,0,0
OFF_COLOR=2,0,0,0.2
LAG=0
LOCATION=NONE

------------------------------------------ EXTERIOR LIGHTING

[DATA] 
DISABLE_LIGHTSINI = 1

[EMISSIVE_LIGHT_...] --- LOW BEAMS
NAME=glass_03
COLOR=100,90,90,1
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] --- LOW BEAMS
NAME=chrome_07
COLOR=100,90,90,0.2
LAG=0.8
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_HIGHBEAM_...] --- HIGH BEAMS
NAME=chrome_04
COLOR=100,90,90,0.3
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_HIGHBEAM_...] --- HIGH BEAMS
NAME=Object1111127
COLOR=100,90,90,1
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...] --- TAILLIGHTS
NAME=red_05, red_07
COLOR=150, 0, 0,02
LAG=0.8
SIMULATE_HEATING=1
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] --- TAILLIGHTS
NAME=chrome_33, chrome_32
COLOR=150, 0, 0,0.8
LAG=0.8
SIMULATE_HEATING=1
CAST_LIGHT=1

[EMISSIVE_BRAKE_...] --- BRAKE LIGHTS
NAME=red_01
COLOR=15, 0, 0,6
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_BRAKE_...] --- BRAKE LIGHTS
NAME=red_04
COLOR=15, 0, 0,9
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


----------------- INDICATORS

[EMISSIVE_TURNSIGNAL_LEFT_...] ;rear bulbs
NAME=Object358
COLOR=50,6, 0, 10
LAG=0.3
REPEAT_FREQENCY_RONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_LEFT_...] ;rear lights
NAME=Object359
COLOR=90,36, 0, 0.2 
LAG=0.3
REPEAT_FREQENCY_RONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_LEFT_...] ;
NAME=chrome_08
COLOR=50,6, 0, 0.9
FALLBACK_HEADLIGHTS_COLOR=80,80,90,0.1
LAG=0.3
REPEAT_FREQENCY_FRONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_LEFT_...] ;mirrors
NAME=chrome_15
COLOR=50,6, 0, 0.5
LAG=0.3
REPEAT_FREQENCY_RONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0



[EMISSIVE_TURNSIGNAL_RIGHT_...] ;rear lights
NAME=silver_02
COLOR=90,36, 0, 0.2 
LAG=0.3
REPEAT_FREQENCY_RONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_RIGHT_...] ;rear bulbs
NAME=silver_35
COLOR=50,6, 0, 10
LAG=0.3
REPEAT_FREQENCY_FRONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_RIGHT_...] ;front led strips
NAME=Object1111137
COLOR=50,6, 0, 0.9
FALLBACK_HEADLIGHTS_COLOR=80,80,90,0.1
LAG=0.3
REPEAT_FREQENCY_RONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_RIGHT_...] ;mirrors
NAME=Object1111124
COLOR=50,6, 0, 0.5
LAG=0.3
REPEAT_FREQENCY_RONT
REPEAT_FREQENCY_HAZARDS_HZ=4.0
CAST_LIGHT=0
TOGGLE_VISIBILITY = 0

----------------- REVERSE

[EMISSIVE_REVERSE_...]
NAME=Object356
COLOR=20,20,20, 0.5
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

[EMISSIVE_REVERSE_...]
NAME=Object357
COLOR=20,20,20
LAG=0.2
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=1

----------------- LIGHT CASTING

----------------- NUMBER PLATE

[LIGHT_LICENSEPLATE] --- Meshes not needed if using default texture names
MESHES= 136
OFFSET=0.0, 0.01, 0.0
RANGE=0.54
RANGE_GRADIENT_OFFSET=0.8
SPOT=200
SPOT_SHARPNESS=0.8
COLOR=0.3,0.3,0.3,50
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP

----------------------------------------- EXTRAS
[SHAKING_EXHAUST_0]
MESHES=black_m_07
POINT_0 = -0.02,-0.16,0.0　
POINT_0_RADIUS = 1 
POINT_0_EXP = -0.4
POINT_0_SCALE = 0.2, 0.7, 0

[ANIMATION_...]
FILE= PanRoof.ksanim
TIME= 1.9
BIND_TO_EXTRA_A=1

[INCLUDE: android_auto/config.ini]

[Display_AndroidAuto]
Meshes = centerstackbezels_a_SUB2 ; display mesh
Resolution = 1024, 548 ; texture resolution
Size = 1050, 550 ; size of the screen area
Offset =5 , 5 ; left top corner of screen area
Scale = 1 ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.9, -02.6 ; position of rear view camera
aftermarketComponent = 1


[WOBBLY_BIT_...]
NAME = aroma004
CONNECTED_TO = -0.0136, 1.27, 0.408
MAX_RANGE = 1.55
DAMPENING_LAG = 0.93
G_GAIN = 5
GRAVITY_GAIN = 3
OFFSET_GAIN = 100
STIFF_AXIS = 0, 0, 1
STIFF_AXIS_STIFFNESS = 0.7
G_FILTER = 0
DEFAULT_GRAVITY_INCLUDED_ALREADY = 1
