[SHADER_REPLACEMENT_...]
MATERIALS=ext_body,ext_plastic_gloss,ext_plastic_nm,black,ext_metal,ext_plastic_lip
DOUBLE_FACE_SHADOW_BIASED = 1

[SHADER_REPLACEMENT_...]
MESHES = 25
PROP_... = extEdgeThreshold, 1
PROP_... = extEdgeRefractionBias, 1
PROP_... = extExtraSharpLocalReflections, 12
PROP_... = extThicknessProfileFix, 0.18
PROP_... = fresnelC, 0.1
PROP_... = extThicknessMult, 1.05

[SHADER_REPLACEMENT_...]
MESHES = simt_glass_tinte
PROP_... = extEdgeThreshold, 2
PROP_... = extEdgeRefractionBias, 1
PROP_... = extExtraSharpLocalReflections, 12
PROP_... = extThicknessProfileFix, 0.18
PROP_... = fresnelC, 0.155
PROP_... = extThicknessMult, 1.0

[SHADER_REPLACEMENT_...]
MESHES = ZENKI_FRONTLIP
PROP_... = ksDiffuse, 0.0
PROP_... = pbNormalDetailPBRMults, 1
PROP_... = pbNormalDetailPBROccludedColor,0
PROP_... = extExtraSharpLocalReflections, -0.001

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = ext_body
DisableDev = 0

[INCLUDE: common/materials_glass.ini]
ExteriorGlassMaterials = 
ProfileFix = 0.18

[Material_Glass]
Materials=h_taillights,h_rearlight,h_refl_r
ThicknessMult=1.5
EXTRA_MASK_PASS=1
EXTRA_MASK_PASS_OPACITY=2

[Material_PhotoelasticGlass]
Meshes = 254
IOR = 4
ProfileFix = 0.18
PhotoelasticityMult = 0.00
Desaturate = 1
ExtraLightsAdjustment = 0
FresnelC= 0.255


[Material_PhotoelasticGlass]
Meshes = 
IOR = 2
ThicknessMult = 1.15
ProfileFix = 0.18
PhotoelasticityMult = 0.00
Desaturate = -1
ExtraLightsAdjustment = 2
FresnelC= 0.093


[Material_Glass]
Meshes = Plane.006,CHB_JJ05
ThicknessMult = 0.02

[Material_Glass]
Meshes = simt_glass_tinted2
ThicknessMult = 1.15
IOR = 2.12
ProfileFix = 0.18
ExtraLightsAdjustment = 0.035
Desaturate = -1
FresnelC = 0.105


[SHADER_REPLACEMENT_...]
MATERIALS = h_refl_r
PROP_... = extBounceBack, 12

[SHADER_REPLACEMENT_...]
;gauge
MATERIALS = g_emiss
SHADER = ksPerPixelMultiMap_emissive
RESOURCE_4 = txEmissive
RESOURCE_TEXTURE_4 = gauge_emiss.dds

[SHADER_REPLACEMENT_...]
;gauged
MATERIALS = gauged
SHADER = ksPerPixelMultiMap_emissive
RESOURCE_4 = txEmissive
RESOURCE_TEXTURE_4 = gaugede.dds

[SHADER_REPLACEMENT_...]
;trd
MATERIALS = trd_emissive
SHADER = ksPerPixelMultiMap_emissive
RESOURCE_4 = txEmissive
RESOURCE_TEXTURE_4 = trd_emissive.dds

[SHADER_REPLACEMENT_...]
;rims
MATERIALS = rim
PROP_...=fresnelC, 0.2
PROP_...=fresnelEXP, 5
PROP_...=fresnelMaxLevel, 0.5
PROP_...=ksAmbient, 0.2
PROP_...=ksDiffuse, 0.2
PROP_...=ksSpecular, 1.1
PROP_...=ksSpecularEXP, 25

[SHADER_REPLACEMENT_...]
;black tone
MATERIALS = ext_body_black
PROP_...=fresnelC, 0.1
PROP_...=fresnelEXP, 3.0
PROP_...=fresnelMaxLevel, 0.6
PROP_...=ksAmbient, 0.4
PROP_...=ksDiffuse, 0.4
PROP_...=ksSpecular, 0.2
PROP_...=ksSpecularEXP, 30

[Material_Glass]
Materials = window
FilmIOR = 2.2
ThicknessMult = 0.5
Desaturate = 1
MaskPass = 2

;INTERIOR

[INCLUDE: common/materials_interior.ini]

[Material_WindscreenBanner]
BlurBackground = 1        ; increase to make banner blur things behind it for rougher transparency look
RainDrops = 1           ; set to 0 if mesh overlays interior windscreen to avoid duplicating rain drops in two layers
WindscreenMesh = 104       ; set name of interior windscreen mesh here if banner mesh overlays it to automatically fix rendering order
Brightness = 0.15           ; use to adjust brightness
CastShadowsThreshold = 0.2 ; cast shadows for areas with alpha above this value

[Material_Metal_v2]
Materials = int_metal
BrightnessAdjustment=0.06
DetailScale=3
Metalness=0.25
Reflectance=0.55
LocalReflectionsSharpness=1

[Material_Metal_v2]
Materials = rim
BrightnessAdjustment=0.06
DetailScale=3
Metalness=0.25
Reflectance=0.35
LocalReflectionsSharpness=1
OcclusionMap = -0.6,0.9

[Material_Leather]
Materials = int_leather
BrightnessAdjustment = 0.175
DetailTextureBlur = 1
DetailNormalBlend = 0.44
DetailScale = 30
Reflectance = 0.215
Smoothness = 0.7


[Material_Leather]
Materials = int_leather_spotted
Brightness = 0.2
DetailTextureBlur = 1
DetailNormalBlend = 0.855
DetailScale = 80
Reflectance = 0.17

[Material_Leather]
Materials = int_leather_spotted_color
Brightness = 0.9
DetailTextureBlur = 1
DetailNormalBlend = 1
DetailScale = 75
Reflectance = 0.1
Smoothness = 0.6

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

[Material_Plastic_v2]
Materials = int_plastic_color,add_plastic
Reflectance = 0.12
OcclusionMap=0.5, 0.5
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 50
DetailTextureBlur = 1
BrightnessAdjustment = 0.42
CubemapReflectionBlur = 0.44,0.44

[Material_Plastic_v2]
Materials = trd_plastic
Brightness = 2.6
Smoothness = 0.8
DetailScale = 20
Reflectance = 0.2
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 1

[Material_Plastic_v2]
Materials = trd_gloss
Brightness = 2.4
Smoothness = 0.8
Reflectance = 0.2
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0
DetailNormalBlend = 0.0

[Material_Plastic]
Materials = 
Reflectance = 0.215
OcclusionMap=-1.3, 1.3
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 30
DetailTextureBlur = 1
BrightnessAdjustment = 0.15
CubemapReflectionBlur = 0.44,0.44
Smoothness = 0

[Material_Plastic]
Materials = add_metal
Reflectance = 0.13
DetailScale= 75
OcclusionMap=-1.3, 1.3
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.1
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 2
DetailTextureBlur = 1
BrightnessAdjustment = 0.00
CubemapReflectionBlur = 1

[Material_Plastic_v2]
Materials = int_plastic_gloss
Reflectance = 0.18
DetailScale = 65
DetailNormalTexture = common/pbr_plastic.dds
OcclsionMap= -0.9,1.3
DetailNormalBlend = 0.0485
DetailNormalPBRSmoothnessGamma = 5
DetailTextureBlur = 1
BrightnessAdjustment = 0.11
Smoothness = -0.1


[Material_Plastic_v2]
Materials = int_plastic_nm
Reflectance = 0.195
DetailScale = 65
DetailNormalTexture = common/pbr_plastic.dds
OcclsionMap= -0.9,1.3
DetailNormalBlend = 0.0485
DetailNormalPBRSmoothnessGamma = 5
DetailTextureBlur = 1
BrightnessAdjustment = 0.125
Smoothness = -0.1

[Material_Velvet_v2]
Materials = int_vel_b, int_vel_d
Brightness = 0.8
DetailScale = 60

[Material_Velvet_v2]
Materials = int_alc
Brightness = 1.2
DetailScale = 60

[Material_Carbon]
Materials = trd_carbon
Brightness = 2.8
DetailScale = 300
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 1

;EXTERIOR
[Material_WindscreenBanner]
Materials = at_scrgrad
BlurBackground = 0
MaskPass = 0.5
MaskPassColor = 0, 0, 0
ColorfulShadowing = 2

[Material_Glass]
Materials = gl
FilmIOR = 0
ThicknessMult = 0.0
Desaturate = 0
MaskPass = 0

[Material_Metal_v2]
Materials = ext_metal
Brightness = 0.0
Metalness = 0.5


[Material_AluminiumOld_v2]
Materials = caliper
Metalness = 0.4
Reflectance = 1
Brightness = 0.4
DetailTexture = 1
DetailScale = 10
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1

[Material_Plastic]
Materials = ext_plastic_nm,alt_parts_color
Reflectance = 0.15
Brightness = 0.00
OcclusionMap = -0.75,1.0
DetailNormalBlend = 0.45
DetailNormalTexture = common/pbr_plastic.dds
FresnelC = 0.1
DetailScale = 43

[Material_Plastic]
Materials = ext_plastic_lip
Reflectance = 0.12
Brightness = -0.1
OcclusionMap = -0.75,1.0
DetailNormalBlend = 0.45
FresnelC = 0.1
DetailNormalTexture = common/pbr_plastic.dds
DetailScale = 43

[Material_Plastic]
Materials = ext_rubber
Brightness = 0.5
Smoothness = 1
Reflectance = 0.15
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0.05
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 1

[Material_Plastic]
Materials = ext_plastic_gloss
Brightness = 0.425
Smoothness = 1
Reflectance = 0.175
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0.175
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 1
OcclusionMap = -0.5,0.9

;RIMS
[Material_Aluminium_v2]
Materials = rim_rough
DetailScale = 10
Brightness = -0.05
Smoothness = 0.1
Reflectance = 0.05
DetailNormalBlend = 0.5
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0.5
OcclusionMap = 0.42

[Material_Metal_v2]
Materials = rimadd_metal, watanabe_metal
Brightness = 1.0
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0

[Material_Metal]
Materials = rimadd, at_black_limited
Brightness = 1.2
DetailScale = 50
DetailNormalBlend = 0.3
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0

[Material_Plastic]
Materials = rimadd_plastic, watanabe_red
Brightness = 0.4
Smoothness = 0.8
Reflectance = 0.2
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 0
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 1

;WATANABE

[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.02
DetailScale = 9
LocalReflectionsSharpness = 0.0
CubemapReflectionBlur = 1
Reflectance = 0.14

;TE37

[Material_Plastic]
Materials = TE3717DAO,TE3717DRAO
BrightnessAdjustment = 0.175
DetailScale = 9
LocalReflectionsSharpness = 0.0
CubemapReflectionBlur = 0.3
Reflectance = 0.3
OcclusionMap = -0.6,1.0

;WORK EQUIP

[Material_Metal_v2]
Materials = MATTE: FF999999
BrightnessAdjustment = 0.245
DetailScale = 5
ApplyTilingFix=1
Metalness = 0.55
DetailNormalBlend = 0.6
Smoothness = 0.9
Reflectance = 0.50
OcclusionMap = 0.2,0.8

;MOMO STEER

[Material_Leather]
Materials = ism_momo_monte_carlo_leather
Brightness = 0.55
DetailNormalTexture = common/leather_pbr.dds
DetailNormalBlend = 1.5
DetailScale = 500
Reflectance = 0.25
CubemapReflectionBlur = 0.5

[Material_Metal_v2]
Materials = ism_momo_monte_carlo_dark_metal
Brightness = 15.2
DetailScale = 50
DetailNormalBlend = 0.3
LocalReflectionsSharpness = 1
CubemapReflectionBlur = 1



;BODY
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = ext_body,ext_body_black,rim

[Material_CarPaint_Metallic]
CarPaintMaterial = ext_body,ext_body_black,rim, ext_hood,TRUNK_WING,alt_parts_color
FresnelMax = 0.45
FresnelC = 0.055
AmbientSpecular = 0.5
SpecularBase = 1.4, 60
ClearCoatThickness = 0.1
CarPaintVersionAware = 3

[INCLUDE: common/materials_license_plate.ini]

[Material_Aluminium_v2]
Materials = EXT_EXHAUST
BrightnessAdjustment = 0.1
DetailScale = 0
Metalness = 0.5
Reflectance = 0.5
LocalReflectionsSharpness = 0.4
CubemapReflectionBlur= -1.2