=============pbr==================

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = chrome_ext

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
ColoredSpecular = 0.9
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.07
BaseSpecularColor = 1, 1, 1  ; specular color
ColoredSpecular = 0.0        ; use base color as specular color
PearlescentSpecular = 0.0    ; offset specular color from base color in a way similar to pearl car paints
AmbientSpecular = 0.0        ; ambient specular by Stereo
AmbientSpecularEXP = 2.5     ; concentration of specular ambient



[INCLUDE: common/materials_interior.ini]
[Material_Leather_v2]
Materials=LeatherBMP
BrightnessAdjustment = 0.3
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 200
ApplyTilingFix = 1
Smoothness = 0.65

[Material_Leather_v2]
Materials=LeatherPerfBMP
BrightnessAdjustment = 0.3
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 200
ApplyTilingFix = 1
Smoothness = 0.65

[Material_Leather_v2]
Materials=lleatherbmp
BrightnessAdjustment = 0.3
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 200
ApplyTilingFix = 1
Smoothness = 0.65


[Material_Leather_v2]
Materials=rul
BrightnessAdjustment = 0.3
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 200
ApplyTilingFix = 1
Smoothness = 0.65


[Material_Leather_v2]
Materials=FabricRoofDFS
BrightnessAdjustment = 0.3
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 200
ApplyTilingFix = 1
Smoothness = 0.65

[Material_Leather_v2]
Materials=int_door
BrightnessAdjustment = 0.3
Reflectance = 0.04
DetailNormalTexture = common/pbr_leather_bumpy.dds
DetailNormalIntensity = 3
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.08
DetailScale = 200
ApplyTilingFix = 1
Smoothness = 0.65


[Material_Aluminium_v2]
Materials=chrome_int2, truechromeint
Metalness=1
Reflectance=0.5
BrightnessAdjustment=1

[Material_Plastic_v2]
Materials=chrome_int
Reflectance = 0.04
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
BrightnessAdjustment = 0.25
DetailScale = 30



[Material_Aluminium_v2]
Materials=ext_black
Metalness=0.0
Reflectance=0.2
BrightnessAdjustment=0

[Material_Aluminium_v2]
Materials=ls500_rim
Metalness=0.5
Reflectance=0.1
BrightnessAdjustment=0.0

[Material_Aluminium_v2]
Materials=black
Metalness=0.1
Reflectance=0.0
BrightnessAdjustment=0.05

[Material_Aluminium_v2]
Materials=yxxx
Metalness=0.1
Reflectance=0.0
BrightnessAdjustment=0.1


[EMISSIVE_LIGHT_1]
NAME=14lights_01-1
COLOR=2,2,3,30
OFF_COLOR=2,2,3,30
LAG=0.0
SIMULATE_HEATING=0.0
BIND_AS=HEADLIGHT

; light is set separately, by LIGHT_LICENSEPLATE
CAST_LIGHT=1


[EMISSIVE_LIGHT_2]
NAME=13chrome_06
COLOR=2,2,2.2,5
LAG=0.5
SIMULATE_HEATING=0.5
BIND_AS=HEADLIGHT

; light is set separately, by LIGHT_LICENSEPLATE
CAST_LIGHT=1


[EMISSIVE_LIGHT_3]
NAME=taillight_l001, taillight_r001
COLOR=3,0.2,0,10
LAG=0.5
SIMULATE_HEATING=0.5
BIND_AS=HEADLIGHT

; light is set separately, by LIGHT_LICENSEPLATE
CAST_LIGHT=1


[EMISSIVE_LIGHT_4]
NAME=buld
COLOR=2,2,3,500
LAG=0.5
SIMULATE_HEATING=0.5
BIND_AS=HEADLIGHT

; light is set separately, by LIGHT_LICENSEPLATE
CAST_LIGHT=1

[EMISSIVE_REVERSE_0]
NAME=reversinglight_l001, reversinglight_r001
COLOR=255, 255, 255
LAG=0.8
SIMULATE_HEATING=1.0

[EMISSIVE_BRAKE_0]
NAME=taillight_r001, taillight_l001  ;Meshes that light up
COLOR=200,1,0, 1                         ;While pressing pedal. R,G,B,A (A=Alpha which is for brightness)
LOCATION=NONE                               ;Obvious


[LIGHT_HEADLIGHTS]
COLOR=1,1,1,3.75
POPUP_ENABLED=1
POSITION=0.0, 0.651, 2.71       ; position, relative to car, without X component
MIRROR=0.552                  ; and here is X: if non-zero, lights merge with distance
DIRECTION=0,-0.3, 1          ; direction for spotlight
RANGE_FIRSTPERSON=490.0       ; range when car is close to camera
RANGE_CARS_NEARBY=130.0        ; range when car is nearby, to avoid blinding
RANGE_CARS_DISTANT=190.0      ; range when car is far away
RANGE_GRADIENT_OFFSET=0.0     ; increase to move gradient further from the camera
FADE_FROM=740.0               ; when to fade until full deactivation, from
FADE_TO=990.0                 ; when to fade, to
SPOT=99.0                     ; angle of spotlight, in degress
SPOT_SHARPNESS=0.7           ; how sharp should be spotlight
SPOT_EDGE=0.14, 0.14, 0.14    ; at what point of vertical axis (0–1, where 1 is fully vertical), light should stop
                              ; three numbers are for three color channels, for cheap chromatic abberations effect
SPOT_EDGE_SHARPNESS=5.0      ; how sharp should be this limitation
SECOND_SPOT=189.0             ; second spotlight, to lit up areas nearby
SECOND_SPOT_SHARPNESS=0.1     ; how sharp second spotlight should be
SECOND_SPOT_SKIP=0.2         ; that’s the cheapest move, but you can make it ignore areas nearby to kind of imitate shadows
SECOND_SPOT_RANGE=25.0        ; range of second spotlight
SECOND_SPOT_INTENSITY=0.9    ; intensity of second spotlight
RELATIVE_TO=null

[EMISSIVE_LIGHT_...]
NAME=bodyshell_SUB2
COLOR=60,60,60
LAG=0.8
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=7
CLUSTER_THRESHOLD=0.9
FALLBACK_HEADLIGHTS_COLOR=55,55,55

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = android
Resolution = 1100, 700
Size = 1100, 650
Offset = 0, 35
Scale = 0.9
RearCameraPosition = 0, 0.827, -2.69
aftermarketComponent=1

[EMISSIVE_LIGHT_...]
NAME= android
OFF_COLOR=2,2,2, 1.0
COLOR=2,2,2, 1.0
LAG=0.4
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[ANALOG_INDICATOR_...]
BIND_TO=RPM
NAME=ARROW_POWER
INPUT_LAG=0.9
LUT=(900=140|7000=380)
INPUT_LAG_UP = 0.75
INPUT_LAG_DOWN = 0.75

[EMISSIVE_LIGHT_...]
NAME=interior_SUB3, chassis_SUB5, door_dside_f001_SUB2, door_dside_r001_SUB2, door_pside_r001_SUB2, door_pside_f001_SUB2, steeringwheel001_SUB1
COLOR=5,5,5,1
FALLBACK_HEADLIGHTS_COLOR=0, 0, 0
CAST_LIGHT=0
LAG=0.3
SIMULATE_HEATING=0.35
LOCATION=NONE

[MINUTE_INDICATOR_...]
NAME=ARROW_MINUTE
UPPER_BOUND=60

[HOUR_INDICATOR_...]
NAME=ARROW_HOUR
RANGE=360
START=0
UPPER_BOUND=12

[EMISSIVE_LIGHT_...]
NAME= arrow_hour, arrow_minute, ARROWFUEL, ARROWPOWER, ARROWSPEED, ARROWTEMP
OFF_COLOR=1,1,1,1
COLOR=2,2,2, 10.0
LAG=0.4
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=lcd_blinker_left
TOGGLE_VISIBILITY = 1
COLOR=0, 10, 0, 1
LAG=0
SIMULATE_HEATING=0.0
LOCATION=NONE


[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=lcd_blinker_right
TOGGLE_VISIBILITY = 1
COLOR=0, 10, 0, 1
LAG=0
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_LIGHT_...]
NAME=light_002
TOGGLE_VISIBILITY = 1
ACT_AS_HEADLIGHTS=0
COLOR=0, 10, 0, 1
LAG=0

[EMISSIVE_HIGHBEAM_0]
NAME=highbeam
TOGGLE_VISIBILITY = 1
ACT_AS_HEADLIGHTS=0
COLOR=0,0,10,1
LAG=0

[ANALOG_INDICATOR_...]
INPUT = SPEED               ; any of supported inputs
NAME = ARROW_SPEED        ; name of mesh to move
INPUT_LAG=0.9
LUT=(0=2|165=-182|260=-272)
INPUT_LAG_UP = 0.75
INPUT_LAG_DOWN = 0.75

[ANALOG_INDICATOR_...]
INPUT = FUEL               ; any of supported inputs
NAME = ARROW_FUEL          ; name of mesh to move
ZERO=0
STEP=0
MIN_VALUE=0
LUT=(0=-5|90=-92)

[ANALOG_INDICATOR_...]
INPUT = WATER_TEMP               ; any of supported inputs
NAME = ARROW_TEMP          ; name of mesh to move
ZERO=0
STEP=0
MIN_VALUE=60
LUT=(60=0|120=90)

[EMISSIVE_LIGHT_...]
NAME=bodyshell_SUB7
TOGGLE_VISIBILITY = 0
ACT_AS_HEADLIGHTS=0
COLOR=10, 7, 5, 1
LAG=0

[EMISSIVE_REVERSE_...]
NAME=chrome_fari
COLOR=10,10,10
LAG=0.8
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=7
CLUSTER_THRESHOLD=0.9

[EMISSIVE_REVERSE_...]
NAME=vray_revers
TOGGLE_VISIBILITY = 0
COLOR=255,255,255,1.2
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=REAR
SIMULATE_HEATING=0.0
CAST_LIGHT=0


[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=vray_turnsignal_L
TOGGLE_VISIBILITY = 0
COLOR=255,102,0,1.2
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=LEFT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=vray_turnsignal_R
TOGGLE_VISIBILITY = 0
COLOR=255,102,0,1.2
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=RIGHT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=turnsignallllllLLLL
TOGGLE_VISIBILITY = 0
COLOR=150,150,0,1
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=LEFT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=turnsignallllllr
TOGGLE_VISIBILITY = 0
COLOR=50, 102, 0,1
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=RIGHT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=rr_turnsignalL
TOGGLE_VISIBILITY = 0
COLOR=50, 102, 0,1
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=LEFT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=rr_chromeR
TOGGLE_VISIBILITY = 0
COLOR=150,150,0,1
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=RIGHT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_4]
NAME=TURNSIGNAL_LEFT
TOGGLE_VISIBILITY = 0
COLOR=255,100,0,0.5
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=LEFT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_4]
NAME=TURNSIGNAL_RIGHTS
TOGGLE_VISIBILITY = 0
COLOR=255,100,0,0.5
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=RIGHT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_LIGHT_...]
NAME=vraysteklo
TOGGLE_VISIBILITY = 0
COLOR=5,5,5
OFF_COLOR=0,0,0
LAG=0.3
LOCATION=FRONT
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[EMISSIVE_BRAKE_...]
NAME=vray_brake 
TOGGLE_VISIBILITY = 0
COLOR=10,10,10
OFF_COLOR=5,5,5
LAG=0.3
LOCATION=REAR
SIMULATE_HEATING=0.0
CAST_LIGHT=0

[WIPERS_TRACE_...]
SURFACE = intglass, window_rr001
WIPERS = wiper_r22, wiper_l22

[ANIMATION_...]
FILE=god.ksanim
TIME=0.9
INPUT=EXTRA_C

[EXTRA_SWITCHES]
SWITCH_A=BAGS DOWN
SWITCH_A_FLAGS = HOLD_MODE
SWITCH_B=BAGS UP
SWITCH_B_FLAGS = HOLD_MODE

[EMISSIVE_EXTRA_D_0] 
BIND_TO_EXTRA_D=1
BIND_TO_HEADLIGHTS=0
NAME =Plate_f, Plate_r
COLOR=0,0,1,1
OFF_COLOR = 0,0,0
LAG = 0.01
SIMULATE_HEATING = 0
LOCATION =NONE
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=1
