[DATA] 
DISABLE_LIGHTSINI=0

[BASIC]
ENGINE_STALLED_RPM_THRESHOLD=1

[EXTRA_FX]
SKIP_GBUFFER=transp green int

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

[Material_Metal_v2] 
Materials= Belt_Fix
HasDetailNormals = 1
Metalness = 0.1
Reflectance = 0.1
Smoothness = 0.4
BrightnessAdjustment = 0.5
LocalReflectionsSharpness = 1
OcclusionSource = NONE

[Material_Metal_v2] 
Materials= Material__37
HasDetailNormals = 1
Metalness = 0.1
Reflectance = 0.1
Smoothness = 0.4
BrightnessAdjustment = 0.14
LocalReflectionsSharpness = 1
OcclusionSource = NONE 
DetailScale = 8 

[Material_Metal_v2] 
Materials= REAREND_SILVERS
HasDetailNormals = 1
Metalness = 0.13
Reflectance = 0.2
Smoothness = 0.4
BrightnessAdjustment = 0.14
LocalReflectionsSharpness = 1
OcclusionSource = NONE 
DetailScale = 11 

[Material_Metal_v2] 
Materials= REAREND_FITTINGS
HasDetailNormals = 1
Metalness = 0.11
Reflectance = 0.2
Smoothness = 0.4
BrightnessAdjustment = 0.12
LocalReflectionsSharpness = 1
OcclusionSource = NONE 
DetailScale = 22

[Material_Metal_v2] 
Materials= exhuastpipe
HasDetailNormals = 1
Metalness = 0.06
Reflectance = 0.06
Smoothness = 0.4
BrightnessAdjustment = 0.45
LocalReflectionsSharpness = 1
OcclusionSource = NONE 

[Material_Metal_v2] ; Seatrails 
Materials= SeatRails
HasDetailNormals = 1
Metalness = 0.007
Reflectance = 0.007
Smoothness = 0.4
BrightnessAdjustment = 0.8
LocalReflectionsSharpness = 1
OcclusionSource = NONE 

[Material_Metal_v2] ; Engine titanium
Materials= Metal_titanium
HasDetailNormals = 1
Metalness = 0.04
Reflectance = 0.04
Smoothness = 0.4
BrightnessAdjustment = 0.2
LocalReflectionsSharpness = 1
OcclusionSource = NONE

[Material_Metal_v2] 
Materials= INT_DETAILS_METAL
HasDetailNormals = 1
Metalness = 0.1
Reflectance = 0.1
Smoothness = 0.4
BrightnessAdjustment = 0.17
LocalReflectionsSharpness = 1
OcclusionSource = NONE 

[Material_Metal_v2] ; 
Materials= chrome
HasDetailNormals = 1
Metalness = 0.006
Reflectance = 0.006
Smoothness = 0.4
BrightnessAdjustment = 0.25
LocalReflectionsSharpness = 0.3
OcclusionSource = NONE 

[Material_Metal_v2] ; Rear arm bolts
Materials= bolts
HasDetailNormals = 1
Metalness = 0.007
Reflectance = 0.007
Smoothness = 0.4
BrightnessAdjustment = 0.2
LocalReflectionsSharpness = 0.3
OcclusionSource = NONE 

[Material_InteriorPBRDetail] Lugnuts
Materials= TE37V_JS
Metalness = 0.03
Reflectance = 0.03
BrightnessAdjustment = 0.35
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] 
Materials= mat_metal
Metalness = 0.03
Reflectance = 0.03
BrightnessAdjustment = 0.24
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Radiator 
Materials= S15_BLACK_GLASS, Material #1343
Metalness = 0.07
Reflectance = 0.07
BrightnessAdjustment = 0.11
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; 
Materials= Material #11148
Metalness = 0.07
Reflectance = 0.07
BrightnessAdjustment = 0.1
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Radiator 
Materials= Radiator
Metalness = 0.07
Reflectance = 0.07
BrightnessAdjustment = 0.11
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Brake calipers 
Materials= GENERIC_CARBON_EXT2
Metalness = 0.013
Reflectance = 0.013
BrightnessAdjustment = 0.25
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Rear arms and diff 
Materials= Wisefab, diff
Metalness = 0.013
Reflectance = 0.013
BrightnessAdjustment = 0.3
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Intercooler front
Materials= Material #1931
Metalness = 0.009
Reflectance = 0.009
BrightnessAdjustment = 0.36
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Intercooler piping engine side 
Materials= ENGINE_METAL_PIPES
Metalness = 0.008
Reflectance = 0.008
BrightnessAdjustment = 0.16
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_InteriorPBRDetail] ; Engine block
Materials= RB26DET
Metalness = 0.01
Reflectance = 0.01
BrightnessAdjustment = 0.256
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 5
Smoothness = 0.3

[Material_Plastic_v2]
Materials = Material #1281
Reflectance = 0.2
BrightnessAdjustment = 0.27
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 74

[Material_Plastic_v2]
Materials = ID25_gls_edge
Reflectance = 0.1
BrightnessAdjustment = 0.24
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 2

[Material_Plastic_v2]
Materials = S15_BLACKPART2
Reflectance = 0.29
BrightnessAdjustment = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 31

[Material_Plastic_v2] ; Interior Lines
Materials = INT_LINES
Reflectance = 0.22
BrightnessAdjustment = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 0
BrightnessAdjustment = 0.3
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 9

[Material_Plastic_v2] ; Interior Lines
Materials = x8metalOsc
Reflectance = 0.22
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 0
BrightnessAdjustment = 0.06
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 23

[Material_Velvet_v2]
Materials = Material #1140
BrightnessAdjustment = 0.05
DetailScale = 60
ApplyTilingFix=1

[Material_Velvet_v2] ; Seat alcantara
Materials= SPARCO_CLOTH
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.3
DetailScale = 40
BrightnessAdjustment = 0.08
ClothSheenColor = 1, 1, 1

[Material_Carbon] ; Carbon doors mesh
Meshes = Doors
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.3
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.946
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1.3
DetailScale = 730

[Material_Carbon] 
Meshes = Canard, Spiltter, Sidestep
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.3
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.946
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.5
DetailScale = 350

[Material_Carbon] Interior ; Wing
Materials = EXT_CARBON_FIBRE
HasDetailNormals = 1
Smoothness = 0.93
Reflectance = 0.22
CubemapReflectionBlur = 0.45
UseClearCoat = 0
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.92
BrightnessAdjustment = 0.32
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.6
DetailScale = 244

[Material_Carbon] Interior ; Foot plates
Materials = CARBON_FOOT_PLATE
HasDetailNormals = 1
Smoothness = 0.7
Reflectance = 0.2
CubemapReflectionBlur = 0.45
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.98
BrightnessAdjustment = 0.38
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 2
DetailScale = 633


;---------------------///Paint///---------------------

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = WCCARBODY
CarPaintVersionAware = 1
DisableDev = 1

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9
AmbientSpecular = 0.5
AmbientSpecularEXP = 1.0
SpecularBase  = 0.2, 50
SpecularColor = 1
SpecularMult = 0.6
ClearCoatThickness = 0.1
PROP_23=extClearCoatThickness, 0.1
NormalsMode = BASIC

[Material_CarPaint_Solid]
Materials = WHEEL
BaseSpecularColor = 0.1, 0.1, 0.1
BrightnessAdjustment = 0.55
FresnelMax = 0.2
FresnelC = 0.12
ColoredSpecular = 0.5
AmbientSpecular = 0.6
AmbientSpecularEXP = 1
ClearCoatThickness = 0.06
SpecularBase = 0.5, 10
SpecularSun = 0.2, 200
FlakesK = 1.2
NormalsMode = BASIC

;---------------------///Glass///---------------------

[INCLUDE: common/materials_glass.ini]
ExteriorGlassTintedMaterials = 
ExteriorGlassHeadlightsMaterials = 

[Material_Glass]
Meshes = s15_windows
ThicknessMult = 5
FresnelC = 0.15

[Material_PhotoelasticGlass]
Meshes = Glass_Ext, Glass_Exter
ThicknessMult = 1
FresnelC = 0.15
IOR = 1
Refraction = 1
RefractionRainbow = 1
PhotoelasticityMult = 0.
PhotoelasticityBaseScale = 0.6  ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.4  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.1   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.9  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale =2   ; how many stripes are there
ProfileFix = 0.02

[Material_Glass]
Meshes= GaugeGlass
IOR = 2.2            ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 2.4  ; thicker glass passes less light through
ProfileFix = 0.05    ; adds thickness to glass for glazing angles
MaskPass = 1.5            ; mask pass opacity
MaskPassColor = 0, 1, 1  ; mask pass color adjustment
ExtraLightsAdjustment = 0.1  ; intensity of extra lights

[LIGHT_EXTRA_...] ; Low Beam
BOUND_TO = Headlights_2
COLOR=1,1,1.14, 522
DIFFUSE_CONCENTRATION=0.7
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=1
SIMULATE_HEATING= 0.2
LAG=0.9
FADE_AT=60
FADE_SMOOTH=53
MIRROR=0.575, 0.0, 0
POSITION=-0.0, 0.57, 1.87
DIRECTION=3.2, 0, 18
RANGE=0.13
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=-0
SPOT=140
SPOT_SHARPNESS=0.01
AMBIENT_INFLUENCE= 0.0

;---------------------///Audio///---------------------

[AUDIO_VOLUME]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 1.0

[AUDIO_PITCH]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 1.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 0.7
SKID_INT = 0.7

[AUDIO_PARAMETER_TRANSFORM]
; Originally, AC would sent 10000 to soundbank, but now it’ll send 5000 instead. Or, 
; it’ll send 2500 instead of 5000 — values in-between these points are linearly interpolated.
ENGINE_EXT_RPMS = (| 0=0 | 8250=9000 |)
ENGINE_INT_RPMS = (| 0=0 | 8250=9000 |)
