############################# EXTERIOR SHADERS #############################

[INCLUDE: common/materials_carpaint.ini]

[Material_CarPaint_Solid]
Materials = _susp_chrome
ClearCoatThickness=0.05
SpecularColor=0.0
SpecularMult=0.0
FresnelMax=0.2
FresnelC=0.0725
FlakesK=1
BrightnessAdjustment = 0.5

[Material_CarPaint_Metallic]
Materials = rim_base
FresnelMax = 0.8
FresnelC = 0.2
FlakesK = 3
BrightnessAdjustment = 0.5
SpecularBase = 0.4, 40
SpecularSun = 0.0, 900
AmbientSpecular = 2.0
AmbientSpecularEXP= 2.0
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.3

[Material_CarPaint_Metallic]
Materials = carpaint
FresnelMax = 0.8
FresnelC = 0.08
FlakesK = 0.1
BrightnessAdjustment = 0.25
SpecularBase = 0.4, 40
SpecularSun = 0.0, 900
AmbientSpecular = 0.5
AmbientSpecularEXP= 2.5
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.12

[INCLUDE: common/materials_interior.ini]
DisableDev = 1

-----METAL-----


[Material_Metal_v2]
Materials = Material #1929, gray
BrightnessAdjustment = 0.45
DetailScale = 26
Metalness = 0.99
Reflectance = 0.99
Smoothness = 0.99
LocalReflectionsSharpness = 0.6
DetailTexture = 1

[Material_Metal_v2]
Materials = chrome
BrightnessAdjustment = 0.25
DetailScale = 26
Metalness = 0.99
Reflectance = 0.99
Smoothness = 0.99
LocalReflectionsSharpness = 0.6
DetailTexture = 1

############################# GLASS #############################

[INCLUDE: common/materials_glass.ini]

ExteriorGlassFilmedMaterials= 
ExteriorGlassTintedMaterials= 
ExteriorGlassHeadlightsMaterials =  headlight_glass 



[Material_Glass]
Materials = windowglass
ThicknessMult = 5.5
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 1
FilmIOR=1.5

[Material_Glass]
Materials = 
FilmIOR = 1.0
ThicknessMult = 0.5
ProfileFix = 0.5
MaskPass = 1500           ; mask pass opacity
MaskPassColor = 255, 255, 255  ; mask pass color adjustment

[Material_Glass]
Materials = dash_glass
ThicknessMult = 1.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 0
FilmIOR=1.5

[Material_Glass]
Materials = 
ThicknessMult = 1
FilmIOR=1.5

[Material_Glass]
Meshes = 
ThicknessMult = 0.1
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 1
FilmIOR=1.5

[Material_PhotoelasticGlass]
Meshes=
FilmIOR = 2.0            ; looks better like this
PhotoelasticityMult = 0.3  ; doesn’t look good if too high
ProfileFix = 0.08          ; a bit thicker edge
ThicknessMult = 0.1

[Material_Glass] GLASS RED
Materials = redglass
FilmIOR = 1.5
ThicknessMult = 0.2
ProfileFix = 0.05
MaskPass = 1500           ; mask pass opacity
MaskPassColor = 255, 0, 0  ; mask pass color adjustment

[Material_Glass] GLASS RED
Materials = clearglass
FilmIOR = 0.5
ThicknessMult = 0.2
ProfileFix = 0.05
MaskPass = 1500           ; mask pass opacity
MaskPassColor = 255, 255, 255  ; mask pass color adjustment



-------PLASTIC-------

[Material_Plastic]
Materials =black
Reflectance = 0.05
Smoothness = 0.95
BrightnessAdjustment = 0.05

[Material_Plastic]
Materials =plastic
Reflectance = 0.06
Smoothness = 0.95
BrightnessAdjustment = 0.2

[Material_Plastic]
Materials =blue
Reflectance = 0.1
Smoothness = 0.99
BrightnessAdjustment = 0.25


[Material_Plastic]
Materials =rear_plate, front_plate
Reflectance = 0.1
Smoothness = 1
BrightnessAdjustment = 0.3

[Material_InteriorPBRDetail]   DASH LEATHER
Materials = int_leather
Smoothness = 0.85
Reflectance = 0.02
HasDetailNormals =1
DetailScale = 200
DetailNormalBlend = $" -1 * def( $DetailNormalIntensity, 1 ) "
DetailNormalPBRFormat = 1
DetailNormalPBRReflectance = 0.5
ColorSource = $" ${DiffuseAsAO:exists} and 'FORCE_WHITE' or discard() "
OcclusionMult = ${DiffuseAsAO:?}
DetailNormalBlend = 1
BrightnessAdjustment=0.45

[Material_InteriorPBRDetail]   DASH LEATHER
Materials = int_plastic1
Smoothness = 0.85
Reflectance = 0.01
HasDetailNormals =1
DetailScale = 1000
DetailNormalBlend = $" -1 * def( $DetailNormalIntensity, 1 ) "
DetailNormalPBRFormat = 0
DetailNormalPBRReflectance = 0.5
ColorSource = $" ${DiffuseAsAO:exists} and 'FORCE_WHITE' or discard() "
OcclusionMult = ${DiffuseAsAO:?}
DetailNormalBlend = 0
BrightnessAdjustment=0.45

[Material_InteriorPBRDetail]   DASH LEATHER
Materials = int_plastic2
Smoothness = 0.85
Reflectance = 0.01
HasDetailNormals =1
DetailScale = 200
DetailNormalBlend = $" -1 * def( $DetailNormalIntensity, 1 ) "
DetailNormalPBRFormat = 0
DetailNormalPBRReflectance = 0.5
ColorSource = $" ${DiffuseAsAO:exists} and 'FORCE_WHITE' or discard() "
OcclusionMult = ${DiffuseAsAO:?}
DetailNormalBlend = 0
BrightnessAdjustment=0.45


[Material_InteriorPBRDetail]   DASH LEATHER
Materials = int_cloth
Smoothness = 0.2
Reflectance = 0.005
HasDetailNormals =1
DetailScale = 80
DetailNormalBlend = $" -1 * def( $DetailNormalIntensity, 1 ) "
DetailNormalPBRFormat = 1
DetailNormalPBRReflectance = 0.5
ColorSource = $" ${DiffuseAsAO:exists} and 'FORCE_WHITE' or discard() "
OcclusionMult = ${DiffuseAsAO:?}
DetailNormalBlend = 1.5
BrightnessAdjustment=0.30



[Material_Plastic]
Materials =interior_black
Reflectance = 0.05
Smoothness = 0.85
BrightnessAdjustment = 0.3

[Material_Plastic]
Materials =interior_second, gray
Reflectance = 0.05
Smoothness = 0.85
BrightnessAdjustment = 0.05

[Material_Velvet_v2]
Materials= carpet, headliner
BrightnessAdjustment=0.15
DetailScale = 20
DetailTexture = 8
Reflectance = 0.
Smoothness = 0.3
DetailNormalBlend = 4


