[BASIC]
IS_LOW_BEAM_AVAILABLE=1

[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/selflighting.ini]

[REAL_MIRROR_1]
IS_MONITOR=1
USE_MONITOR_SHADER = 0           ; set to 1 to use monitor shader with pixels visible if camera is too close
MONITOR_SHADER_SCALE = 4096, 1080  ; adjust pixel density of monitor shader
MONITOR_SHADER_TYPE = 1

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

[SHADOWED_WHEELS]
ANGLE=20
OFFSET=0.0
OPACITY=0.6
WIDTH=0.1

[SHADOWED_TYRES]
ANGLE=10
OFFSET=-0.1
OPACITY=0.6
WIDTH=0.1
EXTRA_AMBIENT_BRIGHTNESS=0

[REFLECTIONS_FX]
DELAYED_RENDER = material:Material #817
SKIP_GBUFFER = material:EXT_Headlightglass, material:EXT_Taillightglass, material:EXT_Glass
MASK_GBUFFER = 

[SHADER_REPLACEMENT_...]
MESHES = 
PROP_...= emSkipDiffuseMap, 1

[SHADER_REPLACEMENT_...]
MESHES = GEO_Paint
DOUBLE_FACE_SHADOW_BIASED = 1

[DATA]
DISABLE_DIGITALPANELSINI = 1

[SHADER_REPLACEMENT_...]
MATERIALS = LED_Panel
SHADER = ksPerPixelMultiMap_emissive
FILL_MISSING_TEXTURES = 1
PROP_... = emSkipDiffuseMap, 1
PROP_... = ksEmissive, 200, 200, 200

[LED_PANEL_...]
MESHES = RSS_EXT_LED_Panel
TEXTURE_SLOT = txEmissive
RESOLUTION = 1024, 512
MASKS_PACK = rss_font.zip
DIGIT_0 = 22, 47, 312, 455
DIGIT_1 = 353, 47, 312, 455
DIGIT_2 = 692, 47, 312, 455

BASE_COLOR = '#00FFFF', 1
FLASHING_COLOR = '#00FFFF', 1
FLASHING_APPLY_MASK = 1

BLANCPAIN_FLASHING_PERIOD = 0.5
BLANCPAIN_FLASHING_DURATION = 0.15
BLANCPAIN_FLASHING_RACE_CLASS = AM

N24_FLASHING_PERIOD = 3.5
N24_FLASHING_TIME = 1.2
N24_FLASHING_FREQUENCY = 6
N24_FLASHING_ACTIVE_SHARE = 0.7

ROLE_0 = DRIVER_NAME
ROLE_1 = POSITION
ROLE_DURATION = 3

;EMISSIVE
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_DRL_BULBS_L
COLOR=45,20,0
OFF_COLOR=0,0,0
FALLBACK_BASE_COLOR= 35,35,35
AFFECTS_TRACK=0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_DRL_BULBS_R
COLOR=45,20,0
OFF_COLOR=0,0,0
FALLBACK_BASE_COLOR= 35,35,35
AFFECTS_TRACK=0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_DRL_GLASS
COLOR=45,20,0
OFF_COLOR=0,0,0
FALLBACK_BASE_COLOR= 25,25,25
AFFECTS_TRACK=0
CAST_LIGHT=0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_DRL_GLASS001
COLOR=45,20,0
OFF_COLOR=0,0,0
FALLBACK_BASE_COLOR= 25,25,25
AFFECTS_TRACK=0
CAST_LIGHT=0

[EMISSIVE_HIGHBEAM_...]
NAME=EXT_Highbeam 
COLOR=40,40,40,1.6
OFF_COLOR=0,0,0
LOCATION=FRONT

[EMISSIVE_REVERSE_...]
NAME= EXT_Reverselight
COLOR=20,20,20,15

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=EXT_Turnsignal_LR
COLOR=45,20,0,10
OFF_COLOR=0,0,0

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=EXT_Turnsignal_RR
COLOR=45,20,0,10
OFF_COLOR=0,0,0

[EMISSIVE_EXTRA_C_1]
NAME=EXT_Rainlight
BLINKING_PATTERN= (|0=0|0.5=0|1=0|1.5=0.5|2=1|2.5=1|3=0.5|3.5=0|4=0)
BLINKING_DURATION=1
COLOR=45,0,0
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
LAG=0
AFFECTS_TRACK=1
CAST_LIGHT=1

[EMISSIVE_...]
NAME=GEO_INT_Details_White
COLOR=2,2,2
OFF_COLOR=2,2,2
INPUT=LIGHT

[EMISSIVE_...]
NAME=GEO_INT_Details_Yellow
COLOR=2,2,0
OFF_COLOR=2,2,0
INPUT=LIGHT

[EMISSIVE_...]
NAME=GEO_INT_Details_Purple
COLOR=2,0,2
OFF_COLOR=2,0,2
INPUT=LIGHT

[EMISSIVE_...]
NAME=GEO_INT_Details_Blue
COLOR=0,0,2
OFF_COLOR=0,0,2
INPUT=LIGHT

[EMISSIVE_...]
NAME=GEO_INT_Details_Red
COLOR=2,0,0
OFF_COLOR=2,0,0
INPUT=LIGHT

[EMISSIVE_...] 
INPUT=SPEEDLIMITER
NAME=RPM_LED_PIT_LIMITER
COLOR=40,0,0,2
OFF_COLOR=0,0,0
BLINKING_PATTERN= (|0=0|0.5=0|1=0|1.5=0.5|2=1|2.5=1|3=0.5|3.5=0|4=0)
BLINKING_DURATION=0.5
TOGGLE_VISIBILITY = 1
TOGGLE_VISIBILITY_INVERSE = 0

[EMISSIVE_...] 
INPUT=SPEEDLIMITER
NAME=LED_RPM_BLANK
COLOR=0.1,0.1,0.1
OFF_COLOR=0,0,0
TOGGLE_VISIBILITY = 1
TOGGLE_VISIBILITY_INVERSE = 0

[EMISSIVE_...] 
INPUT=RPM
INPUT_THRESHOLD=8600
TOGGLE_VISIBILITY = 1
NAME=RPM_LED_BLANK
COLOR=0.1,0.1,0.1
OFF_COLOR=0,0,0
TOGGLE_VISIBILITY_INVERSE = 0

[EMISSIVE_...] 
INPUT=RPM
INPUT_THRESHOLD=8600
TOGGLE_VISIBILITY = 1
NAME=RPM_LED_LIMITER
COLOR=60,0,0
OFF_COLOR=0,0,0
TOGGLE_VISIBILITY_INVERSE = 0
BLINKING_PATTERN= (|0=0|0.5=0|1=0|1.5=0.5|2=1|2.5=1|3=0.5|3.5=0|4=0)
BLINKING_DURATION=1

[EXTRA_FX_EMISSIVE_...]
MESHES=GEO_INT_Details_Red, GEO_INT_Details_Blue, GEO_INT_Details_Purple, GEO_INT_Details_Yellow, GEO_INT_Details_White
COLOR=2
RANGE=0.008
DIRECTED=1

[EXTRA_FX_EMISSIVE_...]
MESHES=EXT_Reverselight
COLOR=2
RANGE=0.02
DIRECTED=1

[EXTRA_FX_EMISSIVE_...]
MESHES=EXT_Turnsignal_RR,EXT_Turnsignal_LR
COLOR=2,0.8,0
RANGE=0.025
DIRECTED=1

[EXTRA_FX_EMISSIVE_...]
MESHES=EXT_Rainlight
COLOR=5,0,0
COVERAGE=5
RANGE=0.03
DIRECTED=1

[EXTRA_FX_EMISSIVE_...]
MESHES=EXT_Highbeam
COLOR=1
COVERAGE=2.5
RANGE=0.026
DIRECTED=0
SPLIT_ELEMENTS = 1

[LIGHT_LED_PANEL_0]
COLOR=0

[LIGHT_LED_PANEL_1]
COLOR=0

[SelfLight_Headlights]
POSITION = 0.0, 0.68, 1.792
MIRROR = 0.72
DIRECTION = 0.02, 0, 1
RANGE=0.08
SPOT = 70
COLOR=600
SPOT_SHARPNESS = 0.9
SPECULAR_MULT = 2
SELF_LIGHTNING = 1
FADE_AT = 10
RANGE_GRADIENT_OFFSET = 0.5
BOUND_TO=EXT_Lowbeam

[SelfLight_Headlights]
POSITION = 0.0, 0.64, 1.85
MIRROR = 0.7
DIRECTION = 0.35, 0, 1
RANGE=0.07
SPOT = 85
COLOR=600
SPOT_SHARPNESS = 0.9
SPECULAR_MULT = 2
SELF_LIGHTNING = 1
FADE_AT = 10
RANGE_GRADIENT_OFFSET = 0.5
BOUND_TO=EXT_Lowbeam

[SelfLight_Headlights]
POSITION = 0.0, 0.644, 1.90
MIRROR = 0.605
DIRECTION = 0.3, 0, 1
RANGE=0.15
SPOT = 90
COLOR=100,100,100,80
SPOT_SHARPNESS = 0.9
SPECULAR_MULT = 2
SELF_LIGHTNING = 1
FADE_AT = 10
RANGE_GRADIENT_OFFSET = 0.5
BOUND_TO=EXT_Highbeam

[EXTRA_FX_EMISSIVE_...]
MESHES = EXT_Lowbeam
DIRECTED=1
RANGE=0.025
COVERAGE= 5

;PBR

[Material_Glass]
Materials = EXT_Headlightglass
IOR = 1            ; index of refraction for glass, usualy, 1.5
FilmIOR = 2       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.5  ; thicker glass passes less light through
ProfileFix = 0.02    ; adds thickness to glass for glazing angles
FresnelC = 0.07
FresnelMaxLevel = 0.1
BrightnessAdjustment = 0


[Material_Glass]
Meshes = GEO_Lights_Glass
IOR = 2            ; index of refraction for glass, usualy, 1.5
FilmIOR = 2       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.2  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
FresnelC = 0.05
FresnelMaxLevel = 0.08

[Material_Glass]
Materials = EXT_Glass_Sponsor
IOR = 1            ; index of refraction for glass, usualy, 1.5
FilmIOR = 2       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1.0  ; thicker glass passes less light through
ProfileFix = 0.02    ; adds thickness to glass for glazing angles
FresnelC = 0.1
FresnelMaxLevel = 0.18

[Material_Glass]
Materials = EXT_Taillightglass
IOR = 1.5            ; index of refraction for glass, usualy, 1.5
FilmIOR = 1.9       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.8  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
FresnelC = 0.035
FresnelMaxLevel = 0.04

[Material_Glass]
Meshes = EXT_Taillight_Glass
IOR = 1.5            ; index of refraction for glass, usualy, 1.5
FilmIOR = 2       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1.0  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
FresnelC = 0.002
FresnelMaxLevel = 0.02
MaskPass = 2.5             ; mask pass opacity
MaskPassColor = 255, 0, 0  ; mask pass color adjustment

[Material_Glass]
Meshes = EXT_Lowbeam
IOR = 0            ; index of refraction for glass, usualy, 1.5
FilmIOR = 1       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1.0  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
FresnelC = 0.1
FresnelMaxLevel = 0.2

[Material_InteriorPBR]
Meshes = EXT_Reflector
Metalness = 1
MetalnessMap = 1
Smoothness = 1
SmoothnessMap = 1
ColorSource = DIFFUSE
DetailNormalPBRSecondaryColor = 1, 0, 0, 1
BrightnessAdjustment= 0.8

[Material_InteriorPBR]
Meshes = EXT_Taillight
Metalness = 0.1
BrightnessAdjustment= 1
Reflectance = 0.0
OcclusionMap = 1
MetalnessMap = 1
Smoothness = 0.65
SmoothnessMap = 1
ColorSource = DIFFUSE
DetailNormalPBRSecondaryColor = 1, 0, 0, 1
RESOURCE_0 = txDiffuse
RESOURCE_0_COLOR= 1,0,0

[Material_InteriorPBR]
Meshes = EXT_Taillight_Inside
Metalness = 1
Reflectance = 0.0
OcclusionMap = 0.5
MetalnessMap = 1
Smoothness = 1
SmoothnessMap = 1
ColorSource = DIFFUSE
DetailNormalPBRSecondaryColor = 1, 0, 0, 1
PROP_...= extColoredReflection, 1
PROP_...= extColoredBaseReflection, 1
BrightnessAdjustment= 0.5

[Material_Plastic_v2]
Meshes = EXT_Taillight_Plastic
Reflectance = 0.2
Smoothness = 1
DetailTexture = 1
BrightnessAdjustment = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 2
DetailTextureBlur = 1
RESOURCE_0 = txDiffuse
RESOURCE_0_TEXTURE = EXT_Lights.dds

[Material_Aluminium_v2]
Meshes = GEO_Misc_Metal_Rod_Back
Metalness = 0.8
Reflectance = 0.4
BrightnessAdjustment = 0.1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 30
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 2
OcclusionMap = 0.5

[Material_Plastic_v2]
Materials = EXT_Plastic
Reflectance = 0.06
BrightnessAdjustment = 0.06
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Aluminium_v2]
Materials = EXT_Metal_Black
Metalness = 0.9
Reflectance = 0.5
BrightnessAdjustment = 0.1
OcclusionMap = 0.25
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 10
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 2

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_Grill
PROP_...= ksAmbient, 0.01
PROP_...= ksDiffuse, 0.005
PROP_...= ksSpecular, 0.02
PROP_...= ksSpecularEXP, 100

[SHADER_REPLACEMENT_...]
MATERIALS = EXT_Metal
PROP_...= extColoredReflection, 1
PROP_...= ksSpecular, 1
PROP_...= ksSpecularEXP, 30
PROP_...= detailNormalBlend, 0

[SHADER_REPLACEMENT_...]
MESHES = EXT_Exhaust
PROP_...= ksDiffuse, 0.15
PROP_...= ksAmbient, 0.2
PROP_...= fresnelC, 0.06
PROP_...= fresnelEXP, 2.5
PROP_...= fresnelMaxLevel, 0.05
PROP_...= ksSpecular, 2
PROP_...= ksSpecularEXP, 50
PROP_...= extColoredReflection, 1
PROP_...= isAdditive, 2

[SHADER_REPLACEMENT_...]
MESHES = EXT_Badge_Front, EXT_Badge_Rear, EXT_Badge_Z
PROP_...= fresnelC, 0.2
PROP_...= fresnelMaxLevel, 0.3
PROP_...= ksSpecularEXP, 30
PROP_...= ksSpecular, 1
PROP_...= extColoredReflection, 1
PROP_...= extColoredReflectionNorm, 0.2
PROP_...= fresnelEXP, 1
PROP_...= ksDiffuse, 0.15
PROP_...= ksAmbient, 0.35

[Material_CarPaint_Metallic]

[Material_CarPaint_Metallic]

[Material_CarPaint_Metal]
Materials = EXT_Rim
UseDiffuseAlphaAsMask = 1
FresnelMax = 0.1
FresnelC = 0.08
BrightnessAdjustment = 1 ; compensates for ambient specular
ColoredSpecular = 1
AmbientSpecular = 0.1
AmbientSpecularEXP = 5
ClearCoatThickness = 0.1
SpecularMult = 1
UseMetallicReflections = 3
SpecularSun = 0.5, 1000
PROP_...= extColoredBaseReflection, 1 
PROP_...= extColoredReflection, 1
PROP_...= ksSpecularEXP, 200
PROP_...= ksSpecular, 1
PROP_...= ksDiffuse, 0.05
PROP_...= ksAmbient, 0.3

;[Material_Aluminium_v2]
;Meshes = RA044_?
;Metalness = 0.25
;Reflectance = 0.5
;BrightnessAdjustment = 0.5
;DetailTexture = 1
;DetailNormalTexture = common/pbr_metal.dds
;DetailNormalPBRSecondaryColor = 1,1,1,1
;DetailScale = 20
;DetailNormalBlend = 1
;DetailNormalPBRSmoothnessGamma = 1
;CubemapReflectionBlur = 0.2
;Smoothness = 0.99
;SmoothnessMap = 1
;OcclusionMult = 0.7
;RESOURCE_0=txDetail
;RESOURCE_0_TEXTURE=detail_rim2
;PROP_...= extColoredReflection, 1
;PROP_...= ksSpecular, 1
;PROP_...= ksSpecularEXP, 30
;PROP_...= ksDiffuse, 0.1

[Material_Aluminium_v2] ;rays rim
Meshes = RA044_?
Metalness = 0.4
Reflectance = 0.5
BrightnessAdjustment = 0.5
DetailTexture = 1
DetailNormalTexture = 0
DetailNormalPBRSecondaryColor = 1,1,1,1
DetailScale = 20
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 1
CubemapReflectionBlur = 0.3
Smoothness = 0.99
SmoothnessMap = 1
OcclusionMult = 0.5
RESOURCE_0=txDetail
RESOURCE_0_TEXTURE=detail_rim2
PROP_...= extColoredReflection, 1
PROP_...= ksSpecular, 1
PROP_...= ksSpecularEXP, 300
PROP_...= ksDiffuse, 0.1


[Material_Carbon]
Materials = EXT_Headlighthouse, EXT_Headlighthouse_Chrome, EXT_Taillighthouse, EXT_Reflector_Glass
BrightnessAdjustment = 0.3
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.2
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = Carbonohousing.dds
DetailNormalTexture = CarbonoNMhousing.dds
DetailNormalBlend = 0
DetailScale = 420
ClearCoatF0 = 0.2

[Material_MultiEmissiveGlass]
Materials=Material #817
ThicknessMult = 2
ExtraLightsAdjustment = 1
Refraction = 1         ; set to non-zero value to use cheap refraction, increase value to increase light bending effect
RefractionBias = 1 
IOR = 1.5

[Material_Plastic_v2]
Materials = Windowframes
Reflectance = 0.15
BrightnessAdjustment = 0.1
Smoothness = 0.4
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.9
DetailNormalBlend = 0
DetailNormalTexture = 0
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Carbon]
Meshes = GEO_INT_Metal_Black_Carbon
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.1
CubemapReflectionBlur = 0.35
BrightnessAdjustment = 0.5
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0
DetailScale = 800
ClearCoatF0 = 0.1

[SHADER_REPLACEMENT_...]
MESHES = GEO_INT_Metal_Black_Dark
PROP_...= ksAmbient, 0.02

[SHADER_REPLACEMENT_...]
MESHES = GEO_INT_Metal_Black_Grey
PROP_...= ksAmbient, 0.12

[Material_Carbon]
Materials = INT_Carbon
DOUBLE_FACE_SHADOW_BIASED = 1
BrightnessAdjustment = 0.25
HasDetailNormals = 1
Smoothness = 0.4
Reflectance = 0.2
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 0.4
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.66
DetailScale = 750
ClearCoatF0 = 0.1

[Material_Velvet_v2]
Materials = INT_Alca
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.02
UseClothShading = 1
Reflectance = 0.5
DetailScale = 70
ClothSheenColor = 1, 1, 1
BrightnessAdjustment = 0.025
ApplyTilingFix=1

[Material_Plastic_v2]
Materials = INT_Plastic
Reflectance = 0.05
Smoothness = 0.1
BrightnessAdjustment = 0.1
DetailNormalPBRSecondaryColor = 0.01, 0.01, 0.01, 0.5
DetailNormalBlend = 2.9
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 0.33
DetailTextureBlur = 0.33
DetailScale = 100

[Material_Plastic_v2]
Meshes = GEO_INT_PLastic_Glossy
Reflectance = 0.35
Smoothness = 0.7
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = 0
DetailNormalPBRSmoothnessGamma = 2
DetailTextureBlur = 1

[Material_Plastic_v2 ]
Meshes = GEO_INT_Details_Red_Plastic
Reflectance = 0.01
BrightnessAdjustment = 1
DetailNormalPBRSecondaryColor = 1, 0, 0, 1
DetailNormalBlend = 0.5
DetailNormalTexture = 0
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_Carbon]
Materials = INT_SW_Carbon
HasDetailNormals = 1
Smoothness = 0.7
BrightnessAdjustment = 0.1
Reflectance = 0.2
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 0.7
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.66
DetailScale = 100
ClearCoatF0 = 0.1

[Material_InteriorPBR]
Materials = INT_SW_Handles
BrightnessAdjustment = 0.04
Smoothness = 0.5
Reflectance = 0.08
DetailNormalBlend = 0

[Material_Plastic_v2]
Materials = INT_SW_Plastic
Reflectance = 0.04
BrightnessAdjustment = 0.2
Smoothness = 0.2
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0.5
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1

[Material_InteriorPBR]
Materials = INT_SW_Metal_Black
Smoothness = 0.5
Reflectance = 0.15
BrightnessAdjustment = 0.4

[Material_Metal_v2]
Materials = INT_SW_Metal
Metalness = 0.4
BrightnessAdjustment = 0.3
LocalReflectionsSharpness = 1
DetailScale = 0
Smoothness = 0.5
Reflectance = 0.1

[Material_InteriorPBRDetail]
Meshes = GEO_INT_Metal_Black_Cage
Brightness=1.0
UseClearCoat=1
ClearCoatSmoothness = 0.85
OcclusionMult=0.9
Metalness=0.3
DetailScale=166
ApplyTilingFix=1

[Material_Aluminium_v2]
Meshes = GEO_INT_Metal_Black, INT_STEER_SHAFT
Metalness = 0.33
Reflectance = 0.5
BrightnessAdjustment = 0.1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0.8, 0.8, 0.85, 0.3
DetailScale = 9
DetailNormalBlend = 0.8
DetailNormalPBRSmoothnessGamma = 0.75

[Material_Aluminium_v2]
Meshes = GEO_INT_Details_Pedals
Metalness = 0.33
Reflectance = 0.1
BrightnessAdjustment = 1
DetailTexture = 1
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 1, 1, 1, 0.5
DetailScale = 7
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 1

[Material_Carbon]
Materials = INT_Carbon_2
HasDetailNormals = 1
Smoothness = 0.33
Reflectance = 0.15
BrightnessAdjustment = 0.1
CubemapReflectionBlur = 0.66
UseClearCoat = 1
ClearCoatSmoothness = 0.7
ClearCoatIntensity = 1.0
DetailTexture = mat_carbon_2.dds
DetailNormalTexture = 1
DetailNormalBlend = 0.5
DetailScale = 600
ClearCoatF0 = 0.15

[Material_InteriorPBRDetail]
Meshes = GEO_INT_Details_SUB0, INT_Details001, GEO_INT_Metal_Black_Dark, GEO_INT_Details_Red_Plastic
Brightness=1.0
UseClearCoat=1
OcclusionMult=1
Metalness=0.0
DetailScale=1
ApplyTilingFix=0

[SHADER_REPLACEMENT_...]
MESHES = EXT_Calcarbon_LF, EXT_Calcarbon_RF, EXT_Calcarbon_LR, EXT_Calcarbon_RR
PROP_...= ksAmbient, 1.5
PROP_...= ksDiffuse, 1
PROP_...= fresnelMaxLevel, 0.08
PROP_...= ksSpecularEXP, 80
PROP_...= ksSpecular, 0.5

[SHADER_REPLACEMENT_...]
MATERIALS = Paint_Carbon
PROP_... = ksDiffuse, 0.15
PROP_... = ksAmbient, 0.15
PROP_... = ksSpecular, 0.1
PROP_... = fresnelMaxLevel, 0.15
PROP_... = fresnelEXP, 5
PROP_... = fresnelC, 0.05
PROP_... = ksSpecularEXP, 44
PROP_... = extExtraSharpLocalReflections, -0.1

[Material_Aluminium_v2]
Materials = INT_Metal
Metalness = 0.33
Reflectance = 0.05
BrightnessAdjustment = 1
DetailTexture = 0
DetailNormalTexture = common/pbr_metal.dds
DetailNormalPBRSecondaryColor = 0.9, 0.9, 0.9, 0.8
DetailScale = 100
DetailNormalBlend = 0.8
DetailNormalPBRSmoothnessGamma = 0.88

[Material_Glass]
Meshes = EXT_Reverselight, EXT_Turnsignal_LR, EXT_Turnsignal_RR
IOR = 1            ; index of refraction for glass, usualy, 1.5
FilmIOR = 2       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.5  ; thicker glass passes less light through
ProfileFix = 0.02    ; adds thickness to glass for glazing angles
FresnelC = 0.07
FresnelMaxLevel = 0.1
BrightnessAdjustment = 3

[SHADER_REPLACEMENT_...]
MESHES = GEO_Misc_Black
PROP_... = ksDiffuse, 0.01
PROP_... = ksAmbient, 0.01

[EMISSIVE_...]
NAME=EXT_Rainlight
INPUT=SPEEDLIMITER
BLINKING_PATTERN= (|0=0|0.5=0|1=0|1.5=0.5|2=1|2.5=1|3=0.5|3.5=0|4=0)
BLINKING_DURATION=1
COLOR=45,0,0, 3
OFF_COLOR=0,0,0
SIMULATE_HEATING=0
LAG=0
AFFECTS_TRACK=0
CAST_LIGHT=0

[INCLUDE: common/gt3_exhaust_glow.ini]
ExhaustLightPoint = 0.74, -0.181, 0.59
ExhaustPoint = 0.74, -0.181, 0.59
ExhaustMeshes_MultiMap = EXT_Exhaust, GEO_Misc_Black
ExhaustAreaScale = 0.54, 0.54, 0.44
ExhaustDynamicLights = 1
ExhaustRadiusInner = 0.05
ExhaustRadiusThicknessInv = 25
ExhaustNormalsK = 0.8
ExhaustTemperatureMin = 77
ExhaustTemperatureMax = 118

[SHADER_REPLACEMENT_...]
MATERIALS = TIRE, TREAD
PROP_... = ksDiffuse, 0.2
PROP_... = ksAmbient, 0.3
PROP_... = ksSpecular, 0.15
PROP_... = fresnelMaxLevel, 0.04
PROP_... = fresnelEXP, 5
PROP_... = fresnelC, 0.05
PROP_... = ksSpecularEXP, 100
PROP_... = extExtraSharpLocalReflections, -5

[TYRES_FX_FRONT]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[SCRIPTABLE_DISPLAY_1]
MESHES = INT_Display
RESOLUTION = 1024,1024
DISPLAY_SIZE = 1024,1024
KEEP_BACKGROUND = 0
INTERACTIVE = 0
SCRIPT = Display/Display.sq.lua


[SCRIPTABLE_DISPLAY_2]
MESHES = INT_SAS
RESOLUTION = 260,260
DISPLAY_SIZE = 260,260
KEEP_BACKGROUND = 0
INTERACTIVE = 0
SCRIPT = Display/SAS.sq.lua

[Material_CarPaint_Metallic]
Materials = Paint
UseMetallicReflections = 0
FlakesK = 0.1
ClearCoatThickness = 0.05
FresnelC = 0.1
SpecularMult = 0.5
AmbientSpecular = 0.6
BrightnessAdjustment = 1.0
AmbientSpecularEXP = 3
SpecularBase = 0.3, 25
SpecularSun = 0.3, 1500
FresnelMax = 0.3

[EMISSIVE_LIGHT_...]
NAME=INT_Display, INT_SAS
COLOR=3,3,3
OFF_COLOR=0.75,0.75,0.75

