[DATA] 
DISABLE_LIGHTSINI=0

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

[Material_InteriorPBRDetail] 
Materials = 
Metalness=0.015
Smoothness = 0.1
Reflectance = 0.015
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.5
DetailNormalBlend = 0.2
DetailScale = 90
NormalsMode = BASIC

[Material_Plastic_v2]
Materials = EXT_PLASTIC
Reflectance = 0.14
BrightnessAdjustment = 0.27
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 38

[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 = 15

[Material_Metal_v2] 
Materials= Material #11148
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, PEDAL_METAL_SHINY
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.2
Reflectance = 0.1
Smoothness = 0.4
BrightnessAdjustment = 0.3
LocalReflectionsSharpness = 1
OcclusionSource = NONE 

[Material_Metal_v2]; Wing stands
Materials= Steel
HasDetailNormals = 1
Metalness = 0.2
Reflectance = 0.1
Smoothness = 0.9
BrightnessAdjustment = 0.3
LocalReflectionsSharpness = 1
OcclusionSource = NONE 
DetailScale = 36

[Material_Metal_v2]; Wing stands
Materials= 
HasDetailNormals = 1
Metalness = 0.2
Reflectance = 0.1
Smoothness = 0.9
BrightnessAdjustment = 0.3
LocalReflectionsSharpness = 1
OcclusionSource = NONE 
DetailScale = 36

[Material_Metal_v2]; Wing stands
Materials= WING_METAL
HasDetailNormals = 1
Metalness = 0.14
Reflectance = 0.1
Smoothness = 0.9
BrightnessAdjustment = 0.134
LocalReflectionsSharpness = 1
OcclusionSource = NONE
DetailScale = 18 

[Material_Metal_v2]; Wing Bolts 
Materials= bolts
HasDetailNormals = 1
Metalness = 0.4
Reflectance = 0.1
Smoothness = 0.9
BrightnessAdjustment = 0.134
LocalReflectionsSharpness = 1
OcclusionSource = NONE

[Material_Metal_v2]; Wing stands and hood latches 
Materials= toyota_chrome
HasDetailNormals = 1
Metalness = 0.05
Reflectance = 0.05
Smoothness = 0.9
BrightnessAdjustment = 0.6
LocalReflectionsSharpness = 1
OcclusionSource = NONE

[Material_Metal_v2]; Wing stands and hood latches 
Materials= Material #11446
HasDetailNormals = 1
Metalness = 0.02
Reflectance = 0.02
Smoothness = 0.9
BrightnessAdjustment = 0.07
LocalReflectionsSharpness = 1
OcclusionSource = NONE

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

[Material_InteriorPBRDetail]
Materials= engine_block
Metalness = 0.02
Reflectance = 0.02
BrightnessAdjustment = 0.4
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 3
Smoothness = 0.55

[Material_InteriorPBRDetail]
Materials= Material #11454
Metalness = 0.015
Reflectance = 0.015
BrightnessAdjustment = 0.35
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 3
Smoothness = 0.55

[Material_InteriorPBRDetail]; Wheels
Materials= caliper
Metalness = 0.03
Reflectance = 0.03
BrightnessAdjustment = 0.2
DetailNormalTexture = common/pbr_metal.dds
DsetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 0
DetailNormalPBRSmoothnessGamma = 3
Smoothness = 0.55

[Material_Velvet_v2]
Materials = int_alcnt
BrightnessAdjustment = 0.06
DetailScale = 20
ApplyTilingFix=1

[Material_Velvet_v2]
Materials= inside_doors
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Reflectance = 0.3
DetailScale = 92
BrightnessAdjustment = 0.18
ClothSheenColor = 1, 1, 1

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

[Material_Carbon] ; Front Slitter
Meshes = SplitterFront
HasDetailNormals = 1
Smoothness = 0.85
Reflectance = 0.23
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.27
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 420

[Material_Carbon] ; Rear bumper carbon
Meshes = BumperRearPlastic
HasDetailNormals = 1
Smoothness = 0.85
Reflectance = 0.27
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.27
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 389

[Material_Carbon] ; Rear Mount
Meshes = trunkbay_a__slod_SUB26, glassr_a_SUB0
HasDetailNormals = 1
Smoothness = 0.7
Reflectance = 0.23
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.19
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 650

[Material_Carbon] ; Rear Mount
Meshes = Object251
HasDetailNormals = 1
Smoothness = 0.7
Reflectance = 0.23
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.19
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 550


[Material_Carbon] ; Int button box
Meshes = WING
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.29
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.31
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 350

[Material_Carbon] ; Mirrors and Side windows
Meshes = Object190, mirror_base_r, mirror_base_l
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.29
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.25
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 570

[Material_Carbon] ; DASH
Meshes = DASH_CARBON
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.26
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.38
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 466

[Material_Carbon] ; SEATS
Meshes = Object257
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.26
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.38
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 566

[Material_Carbon] ; Door cards
Meshes = int_door_r_SUB0, int_door_l_SUB0
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.15
CubemapReflectionBlur = 0.35
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.966
BrightnessAdjustment = 0.38
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 533

[Material_Carbon]; Dash
Meshes = DASH_BOTTOM
HasDetailNormals = 1
Smoothness = 0.9
Reflectance = 0.18
CubemapReflectionBlur = 0.45
UseClearCoat = 1
ClearCoatSmoothness = 1
ClearCoatIntensity = 0.95
BrightnessAdjustment = 0.5
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 870

[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

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

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

[Material_CarPaint_Metallic]
FresnelMax = 0.6
FresnelC = 0.15
FlakesK = 0.5
UseMetallicReflections = 0.5
BrightnessAdjustment = 0.8
SpecularMult = 0.05
AmbientSpecular = 1.5       
AmbientSpecularEXP = 3.5
PearlescentSpecular = 0.2
SpecularBase = 1, 50
SpecularSun = 2, 3000
ColoredSpecular = 0.9
PROP_0=extMetallicK, 0.4
NormalsMode = BASIC

[Material_CarPaint_Solid]
Materials = 57DR
BaseSpecularColor = 0.1, 0.1, 0.1
BrightnessAdjustment = 0.45
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 = Glass

[Material_Glass]
Meshes = door_l_window, EXT_GLASS, door_r_window, TAILLIGHT_GLASS 
ThicknessMult = 5
FresnelC = 0.15

;---------------------///Extras///---------------------

[BRAKEDISC_FX]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0            ; use ceramic look
CARVED = 1            ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 0  ; increase to make more lines
GLOW_OFFSET = 0.8     ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle

; Patch guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
ALPHA_MASK = 0.0, 0.0  ; hole is everything with alpha below 0.1, everything with alpha above 0.2 is not a hole, in-between is a transition

; Patch can also estimate deepenings based on luminance and normal texture. Deepenings glow with a delay (but fully heated, glow more) and are a bit occluded:
LUMINOCITY_MASK = 0.01, 0.06  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.0, 0.0        ; everything looking away more than 50% is a deepening

; Patch would try and guess size of brake disc and its inside area from its mesh, but if it fails:
DISC_RADIUS = 0.172         ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.113  ; radius of an inside part of a brake disc

; Another feature is that patch would mask reflections with rim, stopping brake disc from reflecting sky if looked at a angle. By default it would use rim radius and 60% of wheel width (for the distance between brake disc and exterior part) from “tyres.ini”, could be changed if needed:
RIM_RADIUS = 0.1  ; inside radius of a rim
RIM_HEIGHT = 0.1   ; distance between surface of brake disc and vertical surface of a wheel rim

DEBUG = 0 ; set to 1 to highlight shape:
    ; • cyan is for the actual disc;
    ; • yellow is for the deepenings;
    ; • dark blue is for the inside part;
    ; • pink is for the outside part;
    ; • red is for the borders;
    ; • black is for holes.
WEAR_FORCE = 0.6  ; force certain wear level

[LIGHT_EXTRA_...] ; Low Beam
BOUND_TO = FrontLight_0
COLOR=1,1,1, 422
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.654, 0.0, 0
POSITION=-0.0, 0.65, 1.62
DIRECTION=3.8, 0, 12
RANGE=0.115
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 |)