[INCLUDE: common/materials_carpaint.ini]

[Material_CarPaint_Metal]
CarPaintMaterial = RIM
FresnelMax = 0.2
FresnelC = 0.4
FlakesK = 0
AmbientSpecular = 0.5
AmbientSpecularEXP = 3.0
SpecularBase = 0.1, 40
BrightnessAdjustment = 0.35
ClearCoatThickness = 0.2





[INCLUDE: common/materials_glass.ini]
ExteriorGlassHeadlightsMaterials=HeadLights_GLASS


[Material_Glass]
Materials=EXT_Glass
PROP_...=ksDiffuse,0.2
FilmIOR = 2
ThicknessMult = 1


[INCLUDE: common/materials_interior.ini]


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Interior PBR


[Material_Plastic]
Materials= INT_Plastic
ColorSource=DESATURATE
Brightness=0.2
Reflectance = 0.1


[Material_Plastic]
Materials= INT_Rubber
ColorSource=DESATURATE
Brightness=0.3
Reflectance = 0.05


[SHADER_REPLACEMENT_...]
MATERIALS = Blue_Lights
PROP_...=ksAmbient,0.02
PROP_...=ksDiffuse,0.02




[SHADER_REPLACEMENT_...]
MATERIALS = INT_Carbon
PROP_...=ksAmbient,0.15
PROP_...=ksDiffuse,0.2
PROP_...=ksSpecular,0.3
PROP_...=ksSpecularEXP,100
PROP_...=detailNormalBlend,0.4



[SHADER_REPLACEMENT_...]
MATERIALS = Bolts
BLEND_MODE = ALPHA_TEST
PROP_...=ksAmbient,0.25
PROP_...=ksDiffuse,0.25
PROP_...=ksSpecular,0.8
PROP_...=fresnelMaxLevel,0.0.2



[Material_Leather]
Materials=brake_leather
Brightness=0.25
Reflectance = 0.06
Smoothness = 0.35
DetailNormalBlend=1
ApplyTilingFix=1
DetailScale = 100
LocalReflectionsSharpness = 0.01



[Material_InteriorPBR]
Materials=INT_Metal_Black
BrightnessAdjustment = 0.1
Reflectance=0.2
Smoothness=0.3
Metalness=0.5
CubemapReflectionBlur=2
OcclusionMult=0.8


[Material_InteriorPBR]
Materials=Stw_Bolts
BrightnessAdjustment = 0.05
Reflectance=0.4
Smoothness=0.05
Metalness=0.2
CubemapReflectionBlur=2
OcclusionMult=0.8




[Material_Fur]
Meshes = cloth
FurGravityFactor = 0.1
FurScale = 0.8
FurFidelityScale = 1
FurOcclusion = 0.4
PROP_... = fresnelEXP, 5
PROP_... = fresnelC, 0.02
PROP_... = fresnelMaxLevel, 0.02
PROP_... = ksAmbient, 0.15
PROP_... = ksDiffuse, 0.15
PROP_... = detailNormalBlend, 0.3
PROP_... = ksSpecularEXP, 100


[Material_Fur]
Meshes = stwheel_Grip
FurGravityFactor = 0.8
FurScale = 0.3
FurFidelityScale = 0
FurOcclusion = 0.3
PROP_... = fresnelEXP, 5
PROP_... = fresnelC, 0.04
PROP_... = fresnelMaxLevel, 0.05
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.2


[Material_Velvet_v2]
Materials = INT_Skins
Reflectance = 0.5
BrightnessAdjustment = 0.1
LocalReflectionsForce = 1
DetailNormalBlend = 2
DetailScale = 70
DetailTextureBlur = 0




[Material_Fabric_v2]
Materials = Seats_Leather
Reflectance = 0.1
DetailNormalTexture = cloth_nm.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.0
UseClothShading = 1
Reflectance = 0.1
ClothSheenColor = 1, 1, 1
BrightnessAdjustment = 0.3
DetailScale = 20



[Material_Plastic_v2]
Materials= int_red
BrightnessAdjustment = 0.3
DetailNormalBlend = 0.1
DetailScale = 200
Reflectance = 0.1


[Material_LeatherPoked_v2]
Materials= Leather_Perforated
BrightnessAdjustment = 0.45
DetailNormalTexture = common/pbr_leather_pattern.dds
DetailNormalIntensity = 1
DetailNormalPBRSecondaryColor = 0, 0, 0, 10
DetailNormalPBRReflectance = 0.2
DetailScale = 40
LocalReflectionsForce = 1
Reflectance = 0.01
DetailTextureBlur = 1


[Material_InteriorPBR]
Materials= INT_Carpets
BrightnessAdjustment = 0.1
Reflectance=0.01
Smoothness=0.9


[Material_InteriorPBR]
Materials =  INT_Shift_BALL
BrightnessAdjustment = 0.1
Metalness=0.1
Smoothness=0.9
Reflectance=0.2


[Material_InteriorPBR]
Materials =  Dash_Chrome
BrightnessAdjustment = 0.2
Metalness=0.4
Smoothness=0.0
Reflectance=0.1



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Exterior PBR

[Material_InteriorPBR]
Materials =  RIM_LIP
BrightnessAdjustment = 1
Reflectance = 0.2
Smoothness = 0.9
Metalness = 0.7


[Material_Carbon]
Materials = EXT_Carbon
BrightnessAdjustment = 0.2
Reflectance = 0.1
LocalReflectionsSharpness = 0.01
ClearCoatF0 = 0.01
DetailScale = 700


[Material_Carbon]
Materials = aero
BrightnessAdjustment = 0.4
Reflectance = 0.02
LocalReflectionsSharpness = 0.01
ClearCoatF0 = 0.03
DetailScale = 550
DetailNormalBlend = 2


[Material_InteriorPBR]
Materials= Exterior Metal Black
ColorSource=DESATURATE
Brightness=0.08
Reflectance = 0.01
Metalness = 0.05


[Material_InteriorPBR]
Materials= Front_Grids
ColorSource=DESATURATE
Brightness=0.3
Reflectance = 0.01
Metalness = 0.2



[Material_InteriorPBR]
Materials= Exterior Metal
Brightness=0.4
Reflectance = 0.06
Metalness = 0.09


[Material_InteriorPBR]
Materials= Engine_Details
Brightness=0.5
Reflectance = 0.06
Metalness = 0.09


[Material_Plastic]
Materials= Exterior Plastic
ColorSource=DESATURATE
Brightness=0.25


[Material_WindscreenBanner]
Materials = window_banner
Brightness = 0.7
WindscreenMesh = EXT_Glass_Banner



[SHADER_REPLACEMENT_...]
MESHES = EXT_Black
PROP_...=ksAmbient,0.05
PROP_...=ksDiffuse,0.05


[Material_InteriorPBR]
Meshes =  pinin
BrightnessAdjustment = 0.25
Metalness=0.2
Smoothness=0.0
Reflectance=0.05


[SHADER_REPLACEMENT_...]
MESHES = hoodbadge_ferrari
PROP_...=fresnelC,0.05
PROP_...=ksSpecularEXP,1000
PROP_...=fresnelMaxLevel,0.9
PROP_...=ksAmbient,0.3




; FLAMES

[EXHAUST_FLAMES]
ANTILAG=1 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.2 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=0.5 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=4000
ANTILAG_TURBO_THRESHOLD=0.2
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.8 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0 ; delay after throttle lift
DISCHARGE_DURATION=5 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=0.5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7900 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=3000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=70 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=0.5 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0 ; delay, in seconds
LIMITER_INTENSITY=0.5 ; flame size
LIMITER_RPM_THRESHOLD=7500 ; limiter flames will not shoot below this rpm


