[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = EXT_CARPAINT
DisableDev = 1

[Material_CarPaint_Pearl]
FresnelMax = 0.8
FresnelC = 0.1
FlakesK = 0
SpecularSun  = 0.4, 5000
SpecularBase  = 0.1, 400
AmbientSpecular = 0.01
PearlescentSpecular = 1
BrightnessAdjustment = 0.7 ; compensates for ambient specular
ColoredSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.06
PROP_23=extClearCoatThickness, 0.1


[Material_CarPaint_Metallic]
Materials = EXT_rim
FresnelMax = 0.8
FresnelC = 0.1
FlakesK = 1
BrightnessAdjustment = 0.5
SpecularBase = 6.0, 70
SpecularSun = 8, 2000
AmbientSpecular = 0.8
AmbientSpecularEXP= 0.4
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.15
ClearCoatTint = 4, 7, 5

[SHADER_REPLACEMENT_...]
MATERIALS = rim_detail
PROP_... =ksAmbient,0.24
PROP_... =ksDiffuse,0.38
PROP_... =ksSpecular,1
PROP_... =ksSpecularEXP,80
PROP_... =fresnelC,0.2
PROP_... =fresnelEXP,1.5
PROP_... =fresnelMaxLevel,0.6
PROP_... =sunSpecular,1
PROP_... =sunSpecularEXP,700
BLEND_MODE = ALPHA_TEST

[Material_CarPaint_Solid]
Materials= EXT_Calipers
BaseSpecularColor = 0.06, 0.06, 0.06
FresnelMax = 0.8 
FresnelC = 0.12
FlakesK = 6
BrightnessAdjustment = 0.45
AmbientSpecular = 6.0
SpecularBase = 3.0, 80
SpecularSun = 0.3, 900
ClearCoatThickness = 0.03
ApplyTilingFix = 1
PROP_1... = detailUVMultiplier , 40