[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_Pearl]
MATERIALS=EXT_BODY
SKINS = ?01_crystal_white?
NormalsMode = BASIC
FresnelMax = 0.2
FresnelC = 0.1
FlakesK = 0
SpecularSun  = 0.1, 5000
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 = ?05_red_pearl?
NormalsMode = BASIC
FresnelMax = 0.2
FresnelC = 0.1
FlakesK = 0
SpecularSun  = 0.1, 5000
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

[Material_CarPaint_Pearl]
CarPaintMaterial = EXT_BODY
SKINS = ?02_black_pearl?
NormalsMode = BASIC
FresnelMax = 0.2
FresnelC = 0.1
BrightnessAdjustment = 0.01 ; compensates for ambient specular
PearlescentSpecular = 1.0
AmbientSpecular = 0.3
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.01
SpecularBase = 0.8, 200

[Material_CarPaint_Solid]
CarPaintMaterial = EXT_BODY
SKINS = ?04_gun_grey_metallic?, 
NormalsMode = BASIC
FresnelMax = 0.2
FresnelC = 0.1
BrightnessAdjustment = 0.1 ; compensates for ambient specular
PearlescentSpecular = 0.0
AmbientSpecular = 0.5
AmbientSpecularEXP = 1.0
ClearCoatThickness = 0.01
SpecularBase = 0.8, 400

[Material_CarPaint_Metallic]
CarPaintMaterial = EXT_BODY
SKINS = ?03_spark_silver_metallic?
UseMetallicReflections = 0
FresnelMax = 1
FresnelC = 0.1
FlakesK = 2
ClearCoatThickness = 0.08
NormalsMode = BASIC
ColoredSpecular = 0.4
AmbientSpecular = 0.6
BrightnessAdjustment = 0.2
SpecularMult = 1
SpecularColor = 1
SpecularBase = 0.2, 30
SpecularSun = 0.01, 1.5
ApplyTilingFix = 1
PROP_1... = detailUVMultiplier , 40
PROP_2_... = ksAmbient, 0.4

[Material_Leather]
Materials = INT_DASH
BrightnessAdjustment = 0.06
DetailTextureBlur = 1
DetailNormalBlend = 0.44
DetailScale = 10
Reflectance = 0.1
Smoothness = 0.7

[Material_Leather]
Meshes =  203_T
Reflectance = 0.1
DetailNormalBlend = 0.5
ColorSource = DIFFUSE
DetailNormalPBRSmoothnessGamma = 0.5
DetailTextureBlur = 1
Brightness = 0.3
DetailScale = 40
ApplyTilingFix = 1

[Material_Leather]
Materials = INT_STEERING_WHEEL_LEATHER, 
Reflectance = 0.1
DetailNormalBlend = 0.5
ColorSource = DIFFUSE
DetailNormalPBRSmoothnessGamma = 0.5
DetailTextureBlur = 1
BrightnessAdjustment = 0.1
DetailScale = 7
ApplyTilingFix = 1

[Material_Leather]
Materials = INT_SHROUD, 
BrightnessAdjustment = 0.1
DetailNormalBlend = 0.5
DetailScale = 3
Reflectance = 0.07
Smoothness = 0.2

[Material_Plastic_v2]
Materials = INT_PLASTIC_ROUGH
Reflectance = 0.04
DetailScale = 10
DetailNormalTexture = common/pbr_plastic.dds
OcclsionMap= 0.9,1.3
DetailNormalBlend = 0.1
DetailNormalPBRSmoothnessGamma = 4.65
DetailTextureBlur = 1
BrightnessAdjustment = 0.1
Smoothness = 0.6

[Material_Plastic_v2]
Meshes = 67.002
Reflectance = 0.04
DetailScale = 10
DetailNormalTexture = common/pbr_plastic.dds
OcclsionMap= 0.9,1.3
DetailNormalBlend = 0.1
DetailNormalPBRSmoothnessGamma = 4.65
DetailTextureBlur = 1
BrightnessAdjustment = 0.3
Smoothness = 0.6

[Material_Plastic]
Materials = INT_SMOOTH_PLASTIC
Reflectance = 0.1
DetailScale = 20
DetailTextureBlur = 1
BrightnessAdjustment = 0.01
Smoothness = 0.8

[SHADER_REPLACEMENT_...]
;gauge
MATERIALS = INT_GAUGES
SHADER = ksPerPixelMultiMap_emissive
RESOURCE_4 = txEmissive
RESOURCE_TEXTURE_4 = INT_GAUGE_CLUSTER)EMISSIVE.dds

[SHADER_REPLACEMENT_...]
MATERIALS = INT_GAUGES
PROP_...=ksAmbient, 0.1
PROP_...=ksDiffuse, 0.1
PROP_...=ksSpecular, 0.01
PROP_...=ksSpecularEXP, 60


[SHADER_REPLACEMENT_...]
MATERIALS= EXT_CHROME, EXT_LOCK
PROP_...=ksAmbient,0.2
PROP_...=ksDiffuse,0.3
PROP_...=fresnelEXP,3.5
PROP_...=fresnelMaxLevel,0.7
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_SIDE_BADGE
PROP_...=ksAmbient,0.2
PROP_...=ksDiffuse,0.3
PROP_...=fresnelEXP,3.5
PROP_...=fresnelMaxLevel,0.7
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= INT_CHROME
PROP_...=ksAmbient,0.2
PROP_...=ksDiffuse,0.3
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

[Material_Plastic]
Materials = EXT_PLASTIC
BrightnessAdjustment = 0.1
Smoothness = 1
Reflectance = 0.01
LocalReflectionsSharpness = 0.1
CubemapReflectionBlur = 0.075
UseClearCoat = 0
ClearCoatSmoothness = 1
ClearcoatThickness = 0.2
ClearCoatIntensity = 1
OcclusionMap = 0.775,1

[Material_Plastic_v2]
Meshes = 33.003
BrightnessAdjustment = 0.1
Smoothness = 1
Reflectance = 0.01
LocalReflectionsSharpness = 0.1
CubemapReflectionBlur = 0.075
UseClearCoat = 0
DetailScale = 15
ClearCoatSmoothness = 1
ClearcoatThickness = 0.2
ClearCoatIntensity = 1
OcclusionMap = 0.775,1

[Material_Plastic]
Meshes = 183, 180, 33.001
BrightnessAdjustment = 0.1
Smoothness = 1
Reflectance = 0.01
LocalReflectionsSharpness = 0.1
CubemapReflectionBlur = 0.075
UseClearCoat = 0
ClearCoatSmoothness = 1
ClearcoatThickness = 0.2
ClearCoatIntensity = 1
OcclusionMap = 0.775,1


[EXTRA_FX]
MASK_GBUFFER = 
SKIP_GBUFFER =28_T.001, 105.001, 131, 67.003, 72, 68_T.017, 63_T.001, 203_T.001, 22.004, 22.002, 22.001, 22.003

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_TIRES_TREAD, EXT_TIRE_SIDEWALL
PROP_...=fresnelC, 0
PROP_...=fresnelEXP, 0
PROP_...=fresnelMaxLevel, 0.02
PROP_...=ksAmbient, 0.08
PROP_...=ksDiffuse, 0.08		
PROP_...=ksSpecular, 0.02
PROP_...=ksSpecularEXP, 20

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_BODY_REAR_BADGE
PROP_...=fresnelC, 0
PROP_...=fresnelEXP, 0
PROP_...=fresnelMaxLevel, 0
PROP_...=ksAmbient, 0.02
PROP_...=ksDiffuse, 0.05	
PROP_...=ksSpecular, 0.02
PROP_...=ksSpecularEXP, 20

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_TAIL_REFLECTOR
PROP_... = extBounceBack, 3
PROP_... = extColoredReflection, 1
PROP_... =fresnelMaxLevel, 0.2
PROP_... = isAdditive, 2
PROP_...=ksDiffuse, 0
PROP_...=ksSpecular, 0.001
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MATERIALS = INT_AIRCON
PROP_...=ksAmbient, 0.1
PROP_...=ksDiffuse, 0.02
PROP_...=ksSpecular, 0.0
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MATERIALS = INT_GAUGE_DETAILS
PROP_...=ksAmbient, 0.1
PROP_...=ksDiffuse, 0.1
PROP_...=ksSpecular, 0.0
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MATERIALS = INT_DETAILS
PROP_...=ksAmbient, 0.02
PROP_...=ksDiffuse, 0.02
PROP_...=ksSpecular, 0.0
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MESHES = 84
PROP_...=ksAmbient, 0.1
PROP_...=ksDiffuse, 0.1
PROP_...=ksSpecular, 0.0
PROP_...=ksSpecularEXP, 0

[SHADER_REPLACEMENT_...]
MATERIALS = INT_CLIMATE
PROP_...=ksAmbient, 0.1
PROP_...=ksDiffuse, 0.1
PROP_...=ksSpecular, 0.0
PROP_...=ksSpecularEXP, 0

[Material_Plastic]
Materials = INT_BELTS
BrightnessAdjustment = 0.01

[Material_Glass]
Materials = EXT_GLASS_TINT
IOR = 2
ThicknessMult = 0.6
MaskPass = 4

[Material_Glass]
Materials = INT_GLASS_TINT
IOR = 2
ThicknessMult = 2
MaskPass = 4

[Material_Metal]
Materials = EXT_R32_RIMS
Metalness = 0.5
Reflectance = 0.1
Smoothness = 0.8
BrightnessAdjustment = 0.3

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_RIM_BADGES
PROP_...=ksAmbient, 2
PROP_...=ksDiffuse, 0

[Material_Plastic]
Materials = INT_SEATBELT
BrightnessAdjustment = 0.01

[Material_Velvet_v2]
Materials = INT_SEATS_CLOTH_DARKER
Brightness = 0.1
DetailScale = 60

[Material_Velvet_v2]
Materials = INT_SEATS_CLOTH
Brightness = 0.5
DetailScale = 60

[Material_Metal_v2]
Materials = EXT_METAL, 
BrightnessAdjustment = 0.1
Metalness = 0.01
OcclusionMap = 0.35,1.0
DetailScale = 5
Reflectance = 0.04

[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 = 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_Plastic]
Meshes = 84.001, 75_T
BrightnessAdjustment = 0.01
Reflectance = 0.03

[Material_Glass]
Materials = INT_GLASS
IOR = 2
ThicknessMult = 0.8
MaskPass = 4

[SHADER_REPLACEMENT_...]
MESHES = 162.002
PROP_...=fresnelC, 0.2
PROP_...=fresnelEXP, 0
PROP_...=fresnelMaxLevel, 0.5
PROP_...=ksAmbient, 0.1
PROP_...=ksDiffuse, 0.2
PROP_...=ksSpecular, 0.1
PROP_...=ksSpecularEXP,90

[Material_Carpet_v2]
Materials = INT_CARPET_ROUGH, 
BrightnessAdjustment = 1	
DetailScale = 20

[Material_Carpet_v2]
Materials = INT_CARPET_EDGE, 
BrightnessAdjustment = 0.1	
DetailScale = 20

[Material_Carpet_v2]
Materials = INT_CARPET
Brightness = 1.0
DetailNormalBlend = 1.0
DetailScale = 40

[Material_Glass]
Meshes = 190.001
IOR = 1
ProfileFix = 0.18
PhotoelasticityMult = 0.00
Desaturate = 1
ExtraLightsAdjustment = 0
FresnelC= 0.055