[INCLUDE]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: refraction_rear.ini]
[INCLUDE: refraction_front.ini]
[INCLUDE: lights.ini]
[INCLUDE: interior.ini]
[INCLUDE: extra_fx_emissive.ini]
[INCLUDE: animations.ini]

[DATA] 
DISABLE_LIGHTSINI=1

--------------  SHADOWED WHEELS  ---------------
[SHADOWED_WHEELS]
ANGLE=12
OFFSET=0
OPACITY=0.8
WIDTH=0.15

[SHADOWED_TYRES]
ANGLE=20
OFFSET=0
OPACITY=0.8
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[TYRES_FX]
DIRT_WIDTH_K=1.1

; New car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = Skinbody
DisableDev = 1

[Material_CarPaint_Metallic]
FresnelMax = 0.5
FresnelC = 0.16
FlakesK = 3.5
BrightnessAdjustment = 0.7
ClearCoatThickness = 0.16
SpecularMult = 0.05
AmbientSpecular = 1,0       
AmbientSpecularEXP = 6.5
PearlescentSpecular = 0.2
ColoredSpecular = 0.9
SpecularBase = 1, 50
NormalsMode = BASIC

[SHADER_REPLACEMENT_...]
MATERIALS = Tyres
PROP_0 = fresnelMaxLevel, 0.05
PROP_1 = ksAmbient, 0.2
PROP_2 = ksDiffuse, 0.14
PROP_3 = fresnelC, 0.05
PROP_4 = ksSpecular, 0.2
PROP_5 = ksSpecularEXP, 50

[SHADER_REPLACEMENT_...]
MATERIALS = SSR_Chrome
PROP_0 = fresnelC, 1 ;Может ли отражать
PROP_1 = ksSpecularEXP, 350 ;Количество пропускаемых отражений
PROP_2 = ksSpecular, 5 ;Блик
PROP_3 = fresnelMaxLevel, 0.65 ;Максимальный уровень кол-ва отражений
PROP_4 = ksDiffuse, 0.2 ;Затемнение диффузки

[EXTRA_FX]
MASK_GBUFFER = TL_Glass, HL_Glass, EXT_FrontligntLines,HL_Turn_Glass,INT_Gauges_Glass,INT_Glass_Cluster

[Material_Glass]
Materials = HL_Glass
ThicknessMult = 1; 5
IOR = 1.5; 
;BrightnessAdjustment = 0.8
Desaturate = -1; 1
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 128
ProfileFix = 0.02;0.04
ExtraLightsAdjustment = 0.02; 0.8
FresnelC = 0.125;0.1
UseNormalMap = 1

[Material_Glass]
Materials = TL_Glass
ThicknessMult = 1; 5
IOR = 1
Desaturate = -1; 1
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 128
ProfileFix = 0.02
ExtraLightsAdjustment = 0.02; 0.8
FresnelC = 0.1;0.1
UseNormalMap = 1

[Material_Glass]
Materials = Glass_EXT
FilmIOR = 2.0
ExtraLightsAdjustment = 0.5
Refraction = 1
Desaturate = 1
ThicknessMult = 0.6
EXTRA_MASK_PASS =1.5
EXTRA_MASK_PASS_OPACITY = 2

[ANALOG_INDICATOR_...]
INPUT = OIL
NAME = ARROW_PRESS
INPUT_MIN=0
LUT = (| 0=0| 10=8=290|) 

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMP
NAME = TEMP_OIL
ZERO=0
MIN_VALUE=45
STEP=-1.085714
INPUT_MAX=150

[ANALOG_INDICATOR_...]
INPUT = WATER_TEMP
NAME=ARROW_HEAT
ZERO=0
STEP=2.69
MIN_VALUE=20
LUT=(20=0|120=269.000)

[ODOMETER_MAIN]
DIGITAL_ITEM=1
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ODOMETER_TRIP]
DIGITAL_ITEM=2
DIGITAL_ITEM_NUMBER_FORMAT=06.1
UPPER_BOUND=9999

[REFLECTIONS_FX]
SKIP_GBUFFER = material:INT_Glass_Cluster,Glass_INT,INT_Gauges_Glass

[SHAKING_EXHAUST_...]
MESHES =Exhaust
POINT_0_SCALE = 0.22
POINT_0 = -63.66, 12.53, -3.64
POINT_0_RADIUS = 1.0
POINT_0_EXP = 0.001

[PARTICLES_FX_EXHAUST_0]
POSITION=0.495, 0.343, -2.3
DIRECTION=0.09,0,-0.99
COLOR = 0.75,0.75,0.9 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 0.5, 2 				; how long particles last in the air before disappearing
SPEED = 0.3, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.15				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.03			; initial spawn point offset (length-wise)
INTENSITY = 0.01, 0.1			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 50 		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_1]
POSITION=0.58, 0.343, -2.3
DIRECTION=0.09,0,-0.99
COLOR = 0.75,0.75,0.9  			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 0.5, 2 				; how long particles last in the air before disappearing
SPEED = 0.3, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.15				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.03			; initial spawn point offset (length-wise)
INTENSITY = 0.01, 0.1				; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 50 		; speed at which the smoke disappears

[Material_Plastic_v2]
Materials = EXT_Plastic
BrightnessAdjustment = 0.125
Reflectance = 0.05
LocalReflectionsSharpness = 0.1
DetailNormalBlend = 1
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 3
DetailTextureBlur = 2
DetailScale = 0

[Material_Plastic_v2]
Materials = R_Plate_Plastic
BrightnessAdjustment = 0.025
Reflectance = 0.05
LocalReflectionsSharpness = 0.1
DetailNormalBlend = 1
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 3
DetailTextureBlur = 2
DetailScale = 0

[Material_InteriorPBR]
Materials =  EXT_Bolts
BrightnessAdjustment = 1
Brightness = 1
Metalness = 1
Reflectance = 0.5
DetailScale = 0
CubemapReflectionBlur = 0.5
Smoothness = 0.7
HasDetailNormals=1

[Material_InteriorPBR]
Materials = Suspension_Spring
BrightnessAdjustment = 1
Brightness = 0.75
Metalness = 1
Reflectance = 0.5
DetailScale = 30
CubemapReflectionBlur = -3.5
Smoothness = 0.5
HasDetailNormals=1

[Material_InteriorPBR]
Materials = Suspension_Chrome,knuckle_bolts
BrightnessAdjustment = 1
Brightness = 0.85
Metalness = 1
Reflectance = 0.5
DetailScale = 30
CubemapReflectionBlur = -5.5
Smoothness = 0.9
HasDetailNormals=1

[Material_InteriorPBR]
Materials = Caliper_Chrome
BrightnessAdjustment = 1
Brightness = 0.5
Metalness = 1
Reflectance = 0.5
DetailScale = 30
CubemapReflectionBlur = -5.5
Smoothness = 0.5
HasDetailNormals=1

[Material_InteriorPBR]
Materials = F_Radiators,F_Radiators_Main
BrightnessAdjustment = 1
Brightness = 0.15
Metalness = 1
Reflectance = 0.5
DetailScale = 30
CubemapReflectionBlur = -5.5
Smoothness = 0.7
HasDetailNormals=1

[Material_InteriorPBR]
Materials = Suspension_Arm
BrightnessAdjustment = 1
Brightness = 1.0
Metalness = 1
Reflectance = 0.5
DetailScale = 20
CubemapReflectionBlur = -3.5
Smoothness = 0.5
HasDetailNormals=1

[Material_InteriorPBR]
Materials = knuckles,Caliper_Gold
BrightnessAdjustment = 1
Brightness = 1.2
Metalness = 0.99
Reflectance = 0.5
DetailScale = 100
CubemapReflectionBlur = -3.5
Smoothness = 0.6
HasDetailNormals=1

[Material_InteriorPBR]
Materials = Tie_rods
BrightnessAdjustment = 1
Brightness = 0.5
Metalness = 0.99
Reflectance = 0.5
DetailScale = 50
CubemapReflectionBlur = -3.5
Smoothness = 0.3
HasDetailNormals=1
DetailNormalBlend = 2

[Material_InteriorPBR]
Materials = Suspension_Shock_Absorber
BrightnessAdjustment = 1
Brightness = 0.5
Metalness = 1
Reflectance = 0.5
DetailScale = 25
CubemapReflectionBlur = -3.5
Smoothness = 0.55
HasDetailNormals=1

[AUDIO_PARAMETER_TRANSFORM]
WHEEL_BRAKE = (| 0=0 | 1=0 |)

[AUDIO_PITCH]
SKID_EXT = 0.93
SKID_INT = 0.93

[Material_InteriorPBR]
Materials = Exhaust
BrightnessAdjustment = 1
Brightness = 0.85
Metalness = 1
Reflectance = 0.5
DetailScale = 30
CubemapReflectionBlur = -3.5
Smoothness = 0.95
HasDetailNormals=1

[SHADER_REPLACEMENT_0TYRESFIX]
MATERIALS = shader:ksTyres?
PROP_... = fresnelC, 0
PROP_... = fresnelEXP, 5
PROP_... = ksDiffuse, 0.1
PROP_... = ksAmbient, 0.15

[SHADER_REPLACEMENT_0LEATHERFIX]
MESHES=INT_Shift_Leather
MOVE_MESH_IN_FRONT_OF='{ parent:COCKPIT_HR & first:yes }'

[SHADER_REPLACEMENT_1LEATHERFIX]
MESHES=INT_Stitch
MOVE_MESH_BEHIND='{ parent:COCKPIT_HR & first:yes }'
