[INCLUDE: common/materials_interior.ini]

[INCLUDE: common/materials_carpaint.ini]

[INCLUDE: common/custom_emissive.ini]

[INCLUDE: common/selflighting.ini]

[INCLUDE: common/materials_glass.ini]

[SHADER_REPLACEMENT_...]
MATERIALS= ext_body
DOUBLE_FACE_SHADOW_BIASED = 1

[Material_CarPaint_Solid]
MATERIALS=ext_body
FresnelMax = 0.2
FresnelC = 0.1
FlakesK = 0
SpecularSun  = 0.1, 5000
NormalsMode = BASIC
SpecularBase  = 0.1, 400
AmbientSpecular = 0.01
BrightnessAdjustment = 0.4 ; 
ColoredSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.1
PROP_1... = detailUVMultiplier , 40
PROP_2_... = ksAmbient, 0.4

[EXTRA_FX]
MASK_GBUFFER = 97_0.001
SKIP_GBUFFER = 32_0, 89_0.006, 101_0.001, int_plastic_rough_roof27_0, 32_0.001, 27_0, Plane.001, 47_0.002, 19_0.006, 19_0.003, 19_0, 19_0.004, 11_0.003, 35_0.002, 29_0.007, 28_0.004, 17_0.001, 29_0.002, 29_0.010, 48_0.002

[Material_Plastic]
Materials = ext_plastic, rims_black
BrightnessAdjustment = 0.03
Smoothness = 1
Reflectance = 0.0
LocalReflectionsSharpness = 0.1
CubemapReflectionBlur = 0.075
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearcoatThickness = 0.2
ClearCoatIntensity = 1
OcclusionMap = 0.775,1

[SHADER_REPLACEMENT_...]
MATERIALS= ext_chrome, ext_lights_detail, ext_headlight_detail_2, ext_side_reflector, ext_headlight_backing
PROP_...=ksAmbient,0.2
PROP_...=ksDiffuse,0.3
PROP_...=fresnelEXP,3.5
PROP_...=fresnelMaxLevel,1
PROP_...=isAdditive,0
PROP_...=useDetail,1
PROP_...=detailUVMultiplier,55
PROP_...=sunSpecular,0.3
PROP_...=sunSpecularEXP,100
PROP_...=ksSpecular,1
PROP_...=ksSpecularEXP,300
PROP_...=fresnelC,0.7

[SHADER_REPLACEMENT_...]
MESHES = 81_0.001
PROP_...=ksAmbient,0.03
PROP_...=ksDiffuse,0.03
PROP_...=fresnelEXP,3.5
PROP_...=fresnelMaxLevel,0.3
PROP_...=isAdditive,0
PROP_...=useDetail,1
PROP_...=detailUVMultiplier,55
PROP_...=sunSpecular,0.3
PROP_...=sunSpecularEXP,100
PROP_...=ksSpecular,1
PROP_...=ksSpecularEXP,300
PROP_...=fresnelC,0.7

[SHADER_REPLACEMENT_...]
MESHES = 81_0
PROP_...=ksAmbient,0.5
PROP_...=ksDiffuse,0.5
PROP_...=fresnelEXP,3.5
PROP_...=fresnelMaxLevel,1
PROP_...=isAdditive,0
PROP_...=useDetail,1
PROP_...=detailUVMultiplier,55
PROP_...=sunSpecular,0.3
PROP_...=sunSpecularEXP,100
PROP_...=ksSpecular,1
PROP_...=ksSpecularEXP,300
PROP_...=fresnelC,0.7

[SHADER_REPLACEMENT_...]
MATERIALS = ext_tyres
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.08
PROP_... = fresnelMaxLevel, 0.1
PROP_...=ksSpecular, 0.02
PROP_...=ksSpecularEXP, 10

[Material_Leather]
Materials = , 
BrightnessAdjustment = 0.6
DetailTextureBlur = 1
DetailNormalBlend = 0.5
DetailScale = 70
Reflectance = 0.3
Smoothness = 0.3
ApplyTilingFix = 1

[Material_Leather]
Materials = int_plastic_rough
ApplyTilingFix = 1
Brightness = 0.6
DetailTextureBlur = 1
DetailNormalBlend = 0.7
DetailScale = 90
Reflectance = 0.15
Smoothness = 0.4

[Material_Leather]
Materials = int_plastic_rough_roof, 
BrightnessAdjustment = 0.2
DetailTextureBlur = 0
DetailNormalBlend = 0.4
DetailScale = 40
Reflectance = 0.1
Smoothness = 0.3
ApplyTilingFix = 1

[Material_Leather]
Materials = int_steering_leather, 
BrightnessAdjustment = 0.05
DetailTextureBlur = 0
DetailNormalBlend = 0.4
DetailScale = 20
Reflectance = 0.3
Smoothness = 0.3
ApplyTilingFix = 1

[Material_Leather]
Materials = int_steering_leather_skinned, 
BrightnessAdjustment = 0.01
DetailTextureBlur = 0
DetailNormalBlend = 0.4
DetailScale = 20
Reflectance = 0.1
Smoothness = 0.3
ApplyTilingFix = 1

[Material_Plastic_v2]
Materials = int_plastic_smooth, int_plastic_smooth_2
Reflectance = 0.02
DetailScale = 10
DetailNormalTexture = common/pbr_plastic.dds
OcclsionMap= 0.9,1.3
DetailNormalBlend = 0.1
DetailNormalPBRSmoothnessGamma = 4.65
DetailTextureBlur = 1
BrightnessAdjustment = 0.2
Smoothness = 0.3

[Material_InteriorPBRDetail]
Materials =int_metal, int_typeR, int_metal_skinned
Reflectance = 0.6
Smoothness = 0.8
DetailNormalPBRFormat = 0
DetailNormalBlend = 0
DetailScale = 10
BrightnessAdjustment = 0.4
CubemapReflectionBlur = 0.1
Metalness = 0.6

[Material_WindscreenBanner]
Materials = ext_window_top_tint
BlurBackground = 0
MaskPass = 0.5
MaskPassColor = 0, 0, 0
ColorfulShadowing = 2


[SHADER_REPLACEMENT_...]
;gauge
MATERIALS = int_rev
SHADER = ksPerPixelMultiMap_emissive
RESOURCE_4 = txEmissive
RESOURCE_TEXTURE_4 = gauge_cluster_emissive.dds


[Material_Glass]
Materials = ext_windows
IOR = 2
ThicknessMult = 1
MaskPass = 3

[Material_Glass]

IOR = 5
ThicknessMult = 2
MaskPass = 4

[Material_Glass]
Meshes = 97_0.001
ThicknessMult = 2.5
IOR = 4.0

[Material_Plastic]
Materials = int_belt
BrightnessAdjustment = 0.1

[SHADER_REPLACEMENT_...]
MATERIALS = ext_window_top_tint
PROP_... = ksAmbient, 0.05
PROP_... = ksDiffuse, 0.05
PROP_... = fresnelMaxLevel, 0.1
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 0


[Material_CarPaint_Metallic]
CarPaintMaterial = rim_metal
FresnelMax = 0.8
FresnelC = 0.1
FlakesK = 1
BrightnessAdjustment = 0.1
SpecularBase = 0.4, 40
SpecularSun = 0.0, 900
AmbientSpecular = 3.0
AmbientSpecularEXP= 6.0
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.1

[Material_CarPaint_Solid]
Materials = rim_metal
SKINS = ?01_championship_white?
FresnelMax = 0.2
FresnelC = 0.1
FlakesK = 1
SpecularSun  = 0.1, 5000
NormalsMode = BASIC
SpecularBase  = 0.1, 400
AmbientSpecular = 0.01
BrightnessAdjustment = 0.6 ; 
ColoredSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.1
PROP_1... = detailUVMultiplier , 40
PROP_2_... = ksAmbient, 0.4



[Material_CarPaint_Solid]
MATERIALS=ext_body
SKINS = ?01_championship_white?
FresnelMax = 0.2
FresnelC = 0.1
FlakesK = 1
SpecularSun  = 0.1, 5000
NormalsMode = BASIC
SpecularBase  = 0.1, 400
AmbientSpecular = 0.01
BrightnessAdjustment = 0.7 ; 
ColoredSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.2
PROP_1... = detailUVMultiplier , 40
PROP_2_... = ksAmbient, 0.4

[Material_CarPaint_Metallic]
CarPaintMaterial = ext_body
SKINS = ?02_super_platinum_metallic?
FresnelMax = 0.8
FresnelC = 0.1
FlakesK = 1
BrightnessAdjustment = 0.2
SpecularBase = 0.4, 40
SpecularSun = 0.0, 900
AmbientSpecular = 3.0
AmbientSpecularEXP= 6.0
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.3

[Material_CarPaint_Metallic]
MATERIALS=ext_body
SKINS = ?03_vivid_blue_pearl?
FresnelMax = 0.2
FresnelC = 0.1
FlakesK = 0.25
ColoredSpecular = 1.4
AmbientSpecular = 1
SpecularBase = 0.5, 80
SpecularSun = 0.1, 3000
BrightnessAdjustment = 0.2
SpecularMult = 1.2
ClearCoatThickness = 0.2

[SHADER_REPLACEMENT_...]
MATERIALS = ext_plate_screws
PROP_...=fresnelC, 0.2
PROP_...=fresnelEXP, 0
PROP_...=fresnelMaxLevel, 1
PROP_...=ksAmbient, 0.3
PROP_...=ksDiffuse, 0.5
PROP_...=ksSpecular, 0.1
PROP_...=ksSpecularEXP,90

[Material_CarPaint_Solid]
Materials = ext_plate_rear, ext_plate_front, 
NormalsMode = BASIC
UseMetallicReflections = 0
FresnelMax = 0.3
FresnelC = 0.25
ClearCoatThickness = 0.05
ColoredSpecular = 1
AmbientSpecular = 0.5
BrightnessAdjustment = 0.8

[SHADER_REPLACEMENT_...]
MATERIALS = int_gauge
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = fresnelMaxLevel, 0.1
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 0

[Material_Plastic]
Materials = int_speaker
BrightnessAdjustment = 0.2

[Material_Plastic]
Meshes = 28_0.007
BrightnessAdjustment = 0.01
Reflectance = 0.3

[Material_DigitalScreen]
Meshes = 28_0.005
ScreenScale = 300
ScreenAspectRatio = 0.25

[EXTRA_FX]
GLASS_FILTER = 28_0.005

[SHADER_REPLACEMENT_...]
MATERIALS = int_details
PROP_... = ksAmbient, 0.01
PROP_... = ksDiffuse, 0.01
PROP_... = fresnelMaxLevel, 0.1
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MESHES = 85_0
PROP_... = ksAmbient, 0.05
PROP_... = ksDiffuse, 0.05
PROP_... = fresnelMaxLevel, 0
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MESHES = 35_0.002, 
PROP_... = ksAmbient, 0.03
PROP_... = ksDiffuse, 0.03
PROP_... = fresnelMaxLevel, 0
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MATERIALS = ext_honda_badge, 
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = fresnelMaxLevel, 0
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 0

[Material_Plastic]
Meshes = 0_0.001
BrightnessAdjustment = 0.01
Reflectance = 0.05