[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]


[INCLUDE: common/materials_carpaint.ini]


[LIGHT_EXTRA_...]
ACTIVE=1
POSITION =, 0.636, 1.84
MIRROR =0.71
DIRECTION =0, 0, 1
BOUND_TO=EXT_HL_LIGHT
COLOR = 100
SPOT = 80
RANGE = 0.25

SELF_LIGHTNING = 1
EXTERIOR_ONLY = 1
INTERIOR_ONLY = 0

AFFECTS_TRACK=0





; body paint
[Material_CarPaint_Metallic]
Materials=ext_Body_Paint
ColoredSpecular =1
SpecularBase = 0.3, 40

[Material_CarPaint_Solid]
Materials=ExtBody2




; 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

; wheel paint
[Material_CarPaint_Metallic]
Materials =
BrightnessAdjustment=1
SpecularBase = 0.1, 10
;;


; wheel chrome look
[Material_CarPaint_Chrome]
Materials =ext_Wheel_paint1,ext_Wheel_paint2
FresnelC = 0.05
AmbientSpecular=0.1
SpecularBase = 0.05,40

[SCRIPTABLE_DISPLAY_...]
ACTIVE=1
MESHES =interior_e_SUB1
SCRIPT = headsup.lua



;;;;;;;;; Data Replacement ;;;;;;;;; 
[DATA] 
DISABLE_LIGHTSINI = 1

[EXTRA_FX] ; 
MASK_GBUFFER =material:ExtGlass,light_SUB10
SKIP_GBUFFER=S001

[SHADER_REPLACEMENT_...] ; Sets Mesh Transparent, Has to be Alpha-Blend
MESHES = indicator_lr_SUB1
MATERIALS=ExtGlass
IS_TRANSPARENT = 1

[EXTRA_FX_EMISSIVE_...]
MESHES =interior_e_SUB1
RANGE = 0.15
COLOR =0.2
DIRECTED = 1
INTERIOR_ONLY =1
EXTERIOR_ONLY =0
SPLIT_ELEMENTS =1
EMISSIVE_TWEAK=0



[SHADER_REPLACEMENT_...]
MATERIALS =display
ADAPTIVE_EMISSIVE = 1

;;;;;;;;; Cluster Config / By Mr. Suzuki ;;;;;;;;; 
[CustomEmissiveMulti] ; Emissive Warning Lights
Meshes = cluster_warning
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 = "0, 5,0 " ,
@ = MultiItem, Role = TURNSIGNAL_RIGHT, Start = "163, 433", Size = "71, 100" , Color = "0, 5,0 " ,
@ = MultiItem, Role = ABS_INACTION, Start = "327, 439", Size = "80, 47", Color = "30,15,0",
@ = MultiItem, Role = DashWarningABS, Start = "326, 355", Size = "79, 60", Color = "30,15,0",
@ = MultiItem, Role = DashWarningEngine, Start = "585, 265", Size = "86, 72" , Color = "30,15,0",
@ = MultiItem, Role = HANDBRAKE, Start = "501, 349", Size = "82, 71", Color = "40, 0, 0",
@ = MultiItem, Role = HIGHBEAM, Start = "67, 259", Size = "85, 71", Color = "0, 0, 40",
@ = MultiItem, Role = LIGHT, Start = "677, 360", Size = "85, 45", Color = "0, 40, 0",
@ = MultiItem, Role = TC_INACTION , Start = "418, 429", Size = "72, 75", Color = "30, 15, 0",
@ = MultiItem, Role = DashWarningTC, Start = "502, 428", Size = "74, 83", Color = "30, 15, 0",
@ = MultiItem, Role = TYRE_PRESSURE, Start = "680, 438", Size = "66, 63", Color = "30, 15, 0", InputThreshold = 39, InputSelector = MAX , InputSelectorPivot=5 , Lag=0.2 
@ = MultiItem, Role = DashWarningSeatbelt, Start = "161, 346", Size = "65, 76" , Color = "40, 0, 0",
@ = MultiItem, Role = DashWarningAirbag, Start = "240, 346", Size = "81, 80" , Color = "40, 0, 0",
@ = MultiItem, Role = FUEL, Start = "670, 519", Size = "104, 110",  InputThreshold=11 ,InputInverse=1 , Lag=0.2, Color = "35,2,0", 


--------------------------FLAMES-------------------------------
[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT =0.1,0.18,1
TEMPERATURE_MULT =1.2
INTENSITY_MULT =1.00
[LIGHT_FLAMES]
COLOR=15
RANGE=4

[PARTICLES_FX_EXHAUST]
GROW=0.1, 0.1
       ; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2                 ; how long particles last in the air before disappearing
SPEED = 0.5, 1                 ; how fast smoke particles fly from the exhaust
SPREAD = 0.25                ; initial spread of particles
STARTING_SIZE = 0.04            ; initial size of particles
SPAWN_OFFSET = 0.02            ; initial spawn point offset (length-wise)
INTENSITY = 0.2, 0.4            ; smoke intensity
TEMPERATURE_LAG = 1             ; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100    


[EXHAUST_FLAMES]
ANTILAG=1 ; 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=5500
ANTILAG_INTERVAL_MIN=5000
ANTILAG_TURBO_THRESHOLD=0.5
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.05 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.2 ; delay after throttle lift
DISCHARGE_DURATION=0.5 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=.98 ; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=1; flame size
DISCHARGE_RPM_THRESHOLD_MAX=8700 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=3000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=30
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.01 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=.75 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=1 ; flame size
FLAT_SHIFT_PROBABILITY=0.9 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=5000
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=.1 ; flame size
LIMITER_RPM_THRESHOLD=8400 ; limiter flames will not shoot below this rpm


; Exhaust Glow
[LIGHT_LICENSEPLATE]
MESHES=EXT_LP_US
OFFSET= 0.05 ,0, -0.06
RANGE=0.3

SPOT=170

COLOR=13,12,11,0.25

[EMISSIVE_LIGHT_...]
NAME=EXT_PLATE_LIGHT
COLOR=255, 255, 255, 0.05
CAST_LIGHT=0
LAG = 0


;;;;;;;;; LIGHTS ;;;;;;;;; 



[LIGHT_HEADLIGHT_...]
ACTIVE=1
BOUND_TO=
AFFECTS_TRACK=1
POSITION=, 0.667, 1.88
MIRROR=0.623
;COLOR=15
DIFFUSE_CONCENTRATION=0.95
DIRECTION=0, -0.1, 1
EXTERIOR_ONLY=0
FADE_AT=250
FADE_SMOOTH=100
INTERIOR_ONLY=0
MIRROR=0.67
RANGE=220
LOWBEAM_RANGE_MAX=90
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=110
SECOND_SPOT_INTENSITY=0.6
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPECULAR_MULT=1
SPOT=65
SPOT_SHARPNESS=0
SPOT_UP=0.02, 0.999847, 0
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.2

[EMISSIVE_HIGHBEAM_...] ; Lowbeam 1 
NAME=EXT_HL_LIGHT
COLOR=183,192,215,1.5
FALLBACK_HEADLIGHTS_COLOR=183,192,215
LAG=0.1
LOCATION=FRONT
CAST_LIGHT=1


[EMISSIVE_LIGHT_...] ; DRL
NAME=EXT_HL_DRL
COLOR=183,192,215,0.05
OFF_COLOR=183,192,215,0.05
LAG=0.9
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0





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

[EMISSIVE_BRAKE_...] ; Brakelights 2 - USE IF DRL + BRAKE IS SAME MESH
NAME=EXT_TL_LIGHT
COLOR=50, 7, 0 ,3
FALLBACK_HEADLIGHTS_COLOR=50,7,0,1
LAG=0.1

[EMISSIVE_BRAKE_...] ; Brakelights 2 - USE IF DRL + BRAKE IS SAME MESH
NAME=EXT_GLASS_RED_TL
COLOR=50, 7, 0 ,6
FALLBACK_HEADLIGHTS_COLOR=50,7,0,2
LAG=0.1

LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5



EMERGENCY BRAKE
[EMISSIVE_BRAKE_...]
NAME=light_SUB5
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 = EXT_TL_REVERSE  ; name (one or more) of a mesh to glow
COLOR = 10,9,8     ; glowing color if condition is met

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


----------------------Indicators---------------------------------------------------------------
[EMISSIVE_TURNSIGNAL_LEFT_...] ; Front Left Turnsignal w/DRL Enabled LEAVE BLANK IF NOT USED
NAME=Object014
COLOR=100,30,0,3
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
CAST_LIGHT=1


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

[EMISSIVE_TURNSIGNAL_LEFT_...] ; Rear Left Turnsignal 
NAME=EXT_TL_TURN_LR
COLOR=100,30,0,3
REPEAT_FREQENCY_HZ=2.6
LOCATION=REAR
CAST_LIGHT=1


[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Front Right Turnsignal w/DRL Enabled LEAVE BLANK IF NOT USED
NAME=Object013
COLOR=100,20,0
COLOR=100,30,0,3
REPEAT_FREQENCY_HZ=2.6
LOCATION=FRONT
CAST_LIGHT=1
[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Mid Right Turnsignal
NAME=Object27256
COLOR=100,20,0,5
LAG=0.1
REPEAT_FREQENCY_HZ=2.6
SIMULATE_HEATING=0
LOCATION=MIDDLE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_TURNSIGNAL_RIGHT_...] ; Rear Right Turnsignal 
NAME=EXT_TL_TURN_RR
COLOR=100,30,0,3
REPEAT_FREQENCY_HZ=2.6
LOCATION=REAR
CAST_LIGHT=1
----------------------Interior Lights---------------------------------------------------------------
[EMISSIVE_LIGHT_...] ; Cluster 1 Light
NAME=interior_e_SUB1
COLOR=2,2,2,1
OFF_COLOR=1,1,1
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0
DISABLE_WITH_EMISSIVE_LIGHT = 1

[EMISSIVE_LIGHT_...] ; Cluster 2 Light
NAME=headlightr_a-5,headlightl_a-5
COLOR=120,120,120
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Interior Decal Lights
NAME=,IntButtons001
COLOR=2,2,2
LAG=0
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[EMISSIVE_LIGHT_...] ; Interior Decal Lights
NAME=IntButtons
COLOR=0
[EMISSIVE_LIGHT_...] ; Interior Decal Lights
NAME=podsvetka
COLOR=2,0,0,5
LAG=0
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0

[EMISSIVE_LIGHT_...] ; Arrows Light
NAME=tahook
COLOR=2,0,0,12
OFF_COLOR=2,0,0,5
LAG=0.9
SIMULATE_HEATING=0
LOCATION=INTERIOR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

-----NAVIGATOR-----

[INCLUDE: common/navigators.ini]

[Navigator_StyleNavitel]
Meshes = Gps
@ = Navigator_Size, Resolution = "512, 296", Size = "512, 256", Offset = "0, 0", Scale = 2
Brightness = 0.5

[Material_DigitalScreen]
Materials = hpdisplay2
ScreenScale = 340



----------------------Warning Lights---------------------------------------------------------------
[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=Warning_L
TOGGLE_VISIBILITY = 1
COLOR=0.5,25,0.5, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=Warning_R
TOGGLE_VISIBILITY = 1
COLOR=0.5,25,0.5, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0


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

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

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

[EMISSIVE_...]
NAME=fuel
TOGGLE_VISIBILITY =1
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=abs_1
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,1
LAG=0.2

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

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

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


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

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

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

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



[EMISSIVE_...]
NAME=warning_engine2
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=warning_battery
TOGGLE_VISIBILITY = 0
COLOR=60,0,0,1
INPUT=STALLED
LAG=0.2

WARNING LOWBEAM
[EMISSIVE_LIGHT_13]
NAME=light_002
TOGGLE_VISIBILITY = 1
BIND_TO_HEADLIGHTS=1
COLOR=1,20,1, 1.1
LAG=0.2
SIMULATE_HEATING=0

WARNING HIGHBEAM
[EMISSIVE_HIGHBEAM_1]
NAME=highbeam
TOGGLE_VISIBILITY = 1
COLOR=0.1,0.1,40, 1.0
LAG=0.2
SIMULATE_HEATING=0




[LIGHT_REVERSE_0] ; Reverse Lights
AFFECTS_TRACK=1

EXTERIOR_ONLY=0

---------------------------------- AUDIO ENGINE ----------------------------------


[AUDIO_PROPERTIES]
ENGINE_EXT_BOOST=1
ENGINE_INT_BOOST=1
TURBO_THROTTLE=1


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

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

[WINDSCREEN_REFLECTION]
DEBUG_MESH = 0    
REFLECTING = IntWindows
FILTER_ELEMENTS = 1    
REFLECTED = COCKPIT_HR, STEER_HR  
REFLECTED_DRIVER = 1            
REFLECTED_TRANSPARENT = 1                        
DEPTH_OFFSET = 0.009             
APPLY_DEPTH_FIX = 0             
;INTENSITY = 0.25 




---------------------------------------MATERIALS-----------------------------------

 1



[INCLUDE: common/materials_interior.ini]

;



[Material_Leather]
Materials=Interior,int_leather_paint1
Brightness=0.65
DetailScale=80
Smoothness=0.5

[Material_Velvet_v2]
Materials=IntAlcnt





[Material_MetalOld_v2]
Materials=Big_Bolts_d1

[Material_Metal_v2]
Meshes = 
DetailScale=11
Metalness=0.1
OcclusionMult = 2
BrightnessAdjustment=0.1

[Material_Metal_v2]
Materials=Gintani
DetailScale=12
LocalReflectionsSharpness=0.01
CubemapReflectionBlur=0.8
Metalness=0.2
Brightness=0.1

[Material_Metal_v2]
Materials=MiscWing
DetailScale=0
LocalReflectionsSharpness=0.01
CubemapReflectionBlur=0.9
Metalness=1
Brightness=0.5

[Material_Metal_v2]
Meshes=
DetailScale=0
LocalReflectionsSharpness=0.01
Brightness=1
Reflectance=0
Metalness=0.6
RESOURCE_0=txEmissive
RESOURCE_TEXTURE_0=taillight_emissive.dds


[Material_Plastic_v2]
Meshes=
LocalReflectionsSharpness=0.01
CubemapReflectionBlur=0.8
Smoothness=0.7
Reflectance=0.1
Brightness=0.25
DetailScale=0
RESOURCE_0=txDetail
RESOURCE_TEXTURE_0=taillight_emissive.dds

[Material_Metal_v2]
Materials=head_light
DetailScale=250
Brightness=1
Reflectance=0
Metalness=0.6
DetailNormalBlend=1
RESOURCE_0=txEmissive
RESOURCE_TEXTURE_0=taillight_emissive.dds
RESOURCE_1=txNormalDetail
RESOURCE_TEXTURE_1=square_nm.dds

[Material_Plastic]
Materials=ExtPlastic
Metalness=0
Brightness=0.2
Smoothness=0.9





[Material_Plastic_v2]
Materials=Dark
Smoothness=0.9
Reflectance=0.1
Metalness=0
Brightness=0.3
DetailScale=0

[Material_Metal_v2]
Materials=enginea_diff
Brightness=0.2
Reflectance=0.3
Metalness=0.3

[Material_Plastic_v2]
Materials = StertmanReg
Brightness = 0.75
Smoothness = 0.925
DetailScale = 0
ColorSource = DIFFUSE



[Material_MetalOld_v2]
Materials =EXT_EXHAUST_PATTERN_B
Brightness=0


[Material_MetalOld_v2]
Materials =EXT_EXHAUST
DetailScale=4
Brightness=0.5
DetailNormalPBRSmoothness=0.85



[Material_Carbon]
Materials =ExtCarbon
Brightness=0.3
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.2
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend =0.7
DetailScale = 700


[INCLUDE: common/materials_glass.ini]


[SHADER_REPLACEMENT_...]
MATERIALS=EXT_LIGHT
PROP_4 = ksDiffuse, 0.3
PROP_5 = ksAmbient, 0.3

PROP_2 = ksSpecular, 0.2
PROP_3 = ksSpecularEXP,150
PROP_5 = fresnelMaxLevel, 0
PROP_6 = fresnelC, 0.0
PROP_7 = fresnelEXP,0
PROP_8 = isAdditive,1

[SHADER_REPLACEMENT_...]
ACTIVE=1
MATERIALS =Tyre
PROP_0 = ksDiffuse, 0.2
PROP_1 = ksAmbient, 0.2
PROP_2 = ksSpecular, 0.05
PROP_3 = ksSpecularEXP,10



[Material_Glass]
Materials=ExtGlass
IOR=2
ThicknessMult=0.2
[Material_Glass]
Meshes=light_SUB12
IOR=1.3
BrightnessAdjustment=0
ThicknessMult=0.2

[Material_Glass]
Meshes=EXT_GLASS_RED?
MaskPassColor =255,0,0
MaskPass=3
ThicknessMult=0.2
Refraction=0

BrightnessAdjustment=0.6

[Material_Glass]
Meshes=EXT_GLASS_ORANGE
MaskPassColor =255,50,0
MaskPass=2
ThicknessMult=0.2
BrightnessAdjustment=0.6

[Material_Glass]
Materials=EXT_WINDOW
MaskPass = 0.25       ; mask pass opacity
MaskPassColor =0, 36, 38
ThicknessMult=1.5
IOR = 2             ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections


[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
; License Plate Shader

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_LP_US
PROP_0 = ksSpecular, 0.02
PROP_1 = ksSpecularEXP, 30.05
PROP_2 = fresnelEXP,1

; 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
Brightness = 0.1
DetailNormalBlend = 0.25
; License Plate Frame Metal


[Material_MetalOld_v2]
Materials = EXT_LP_CHROME
DetailScale = 1
Brightness = 0.9


[Material_CarPaint_Solid]
Materials =EXT_LP_US
NormalsMode = BASIC
BrightnessAdjustment=0.5

[Material_Glass]
Materials=GlassRed
EXTRA_MASK_PASS_COLOR=255,0,0
MaskPass=2
Desaturate=0
ThicknessMult=0.5
BrightnessAdjustment=0.2

[WIPERS_TRACE_...]
SURFACE = windscreen,IntWindows
WIPERS = Wiper2,Wiper1

