[INCLUDE: 0_1_78_and_lower.ini]
[INCLUDE: animation.ini]
[INCLUDE: dash_board.ini]
[INCLUDE: lights.ini]
[INCLUDE: refraction.ini]
[INCLUDE: tail_lights.ini]
[INCLUDE: turn_signals.ini]

[DATA] 
DISABLE_LIGHTSINI=1
DISABLE_ANALOGINSTRUMENTSINI=1
;----------------------------------------------------------------------------------
[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1

[AUDIO_VOLUME]
ENGINE_EXT = 1.0
ENGINE_INT = 1.0
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.1
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 0.8
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

;-----------------------------------------------------------------------------------
[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=20
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
HEADLIGHTS_ARE_HEADLIGHTS=1
HORN_AS_SIREN=0
IS_LOW_BEAM_AVAILABLE=1
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
STOP_LODS_ADJUSTMENT=1
TURNING_LIGHTS_REPEAT=1

[LIGHTING]
EMISSIVE_MULT=6
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.23
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_SHADOW_OPACITY=1.4
INTERIOR_FAKE_SHADOW_HEIGHT=0.1
INTERIOR_FAKE_SHADOW_FAGE=0.2

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=0

[EXTRA_FX]
SKIP_GBUFFER=sticks_new,sticker_mesh,st_ti,h_glass,bake_hl,hgl_bake,rim_dec?,decal_hub_?,decal1,winline

[SHADER_REPLACEMENT_...]
MATERIALS=body,plastic,rubber,black,chr,rim,ext_carbon,paint_int
DOUBLE_FACE_SHADOW_BIASED = 1
;-------------------------------------------------------------------------------
[SHADOWED_WHEELS]
ANGLE=12
OFFSET=0
OPACITY=0.3
WIDTH=0.15

[SHADOWED_TYRES]
ANGLE=6
OFFSET=0
OPACITY=0.1
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[TYRES_FX]
DIRT_WIDTH_K=1.1
;--------BRAKE_DISKS-----------------------------------------------------------
[BRAKEDISC_FX_FRONT]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0           ; use ceramic look
CARVED = 0               ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 1   ; 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
DEBUG = 0
OVERRIDE_NORMAL_MAP = 0
LUMINOCITY_MASK = 0.1, 1.0
DISC_INTERNAL_RADIUS = 0.1015
DISC_RADIUS = 0.1705
ALPHA_MASK = 0.0, 0.3
WEAR_FORCE = 0.75
GLOW_FORCE = 0.0

[BRAKEDISC_FX_REAR]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0           ; use ceramic look
CARVED = 0               ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 1   ; 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
DEBUG = 0
OVERRIDE_NORMAL_MAP = 0
LUMINOCITY_MASK = 0.3, 0.8
DISC_INTERNAL_RADIUS = 0.1108
DISC_RADIUS = 0.1585
ALPHA_MASK = 0.0, 0.3
WEAR_FORCE = 0.75
GLOW_FORCE = 0.0

[LIGHT_BRAKEDISCS]
COLOR=0
;--------------------------------------------------------
[INCLUDE: common/materials_interior.ini]
[Material_AluminiumOld_v2]
Meshes = exh_a
Metalness = 0.25
Reflectance = 0.1
Smoothness = 0
BrightnessAdjustment = 0.7
RESOURCE_0 = txDetail
RESOURCE_TEXTURE_0 = exh.png
DetailScale = 1
DetailNormalBlend = 2
DetailNormalPBRSmoothnessGamma = 1

[Material_Carpet_v2]
Meshes = exh_b
Reflectance = 0
Smoothness = 0
BrightnessAdjustment = 0.3
RESOURCE_0 = txDetail
RESOURCE_TEXTURE_0 = UNI_Belt_DIF2.png
RESOURCE_1 = txNormalDetail
RESOURCE_TEXTURE_1 = UNI_Belt_NM.png
DetailScale = 15
DetailNormalBlend = 2

[Material_Carbon]
Materials = INT_carbon
ColorSource = DIFFUSE
DetailScale = 700
Brightness = 2
ClearCoatF0 = 0.3
DetailNormalBlend = 0.1
Reflectance = 0.3
ColorSource = DIFFUSE
RESOURCE_0 = txDetail
RESOURCE_TEXTURE_0 = mat_carbon_ferrari2.dds
RESOURCE_1 = txNormalDetail
RESOURCE_TEXTURE_1 = MAT_Carbon_FERRARI_NM.dds

[Material_Carbon]
Materials = ext_carbon
ColorSource = DIFFUSE
DetailScale = 500
Brightness = 0.4
ClearCoatF0 = 0.2
DetailNormalBlend = 0.05
Reflectance = 0.2
CubemapReflectionBlur = 2
ColorSource = DIFFUSE
RESOURCE_0 = txDetail
RESOURCE_TEXTURE_0 = mat_carbon_ferrari2.dds
RESOURCE_1 = txNormalDetail
RESOURCE_TEXTURE_1 = MAT_Carbon_FERRARI_NM.dds

[Material_InteriorPBR]
Materials = metal_int
BrightnessAdjustment = 1
Brightness = 2
Metalness = 0.4
Reflectance = 0.5
DetailScale = 20
CubemapReflectionBlur = 0.5
Smoothness = 0.7
HasDetailNormals=0

[Material_Plastic]
Materials = plasticINT
Brightness = 0.3
Smoothness = 0.75
Reflectance = 0.25
CubemapReflectionBlur = -0.1

[Material_Chrome]
Materials = chr
Metalness = 0.55
Reflectance = 0.6
BrightnessAdjustment = 1
Brightness = 5
Smoothness = 0.8
CubemapReflectionBlur = -10
ColorSource = DIFFUSE

[Material_Leather]
Materials = leather, skined
Brightness = 0.2
DetailTextureBlur = 1
DetailNormalBlend = 2
DetailScale = 150
Reflectance = 0.25
Smoothness = 0.6

[Material_Plastic]
Materials = plastic_smooth
Brightness = 0.8
Smoothness = 0.9
Reflectance = 0.15
CubemapReflectionBlur = -1

[Material_Plastic]
Meshes = st_m
Brightness = 0.8
Smoothness = 0.8
Reflectance = 0.1
CubemapReflectionBlur = -1
DetailScale = 80
RESOURCE_0 = txDetail
RESOURCE_TEXTURE_0 = alu_raw.dds

[SHADER_REPLACEMENT_...]
MATERIALS=dec_rim
PROP_...=ksAmbient, 0.07
PROP_...=ksDiffuse, 0.1

[SHADER_REPLACEMENT_...]
MESHES=misc_shet
PROP_...=ksAmbient, 0.4

[SHADER_REPLACEMENT_...]
MATERIALS=weld_mat
PROP_...=ksAmbient, 0.4
PROP_...=ksDiffuse, 0.4

[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = overlay
ThicknessMult = 1; 5
IOR = 1.5; 2.0
;BrightnessAdjustment = 0.8
Desaturate = -1; 1
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 128

ProfileFix = 0.02;0.04
ExtraLightsAdjustment = 0.02; 0.8
FresnelC = 0.2;0.1
UseNormalMap = 1

[Material_Glass]
Materials = glass
ThicknessMult = 2.5
IOR = 4.0

[SHADER_REPLACEMENT_...]
MATERIALS=overlay
PROP_... = extExtraSharpLocalReflections, -1.0
;----------------------------------------------------------------------------------
[MESH_SPLIT_...]
MESHES = tail_ref
SPLIT_AXIS = 1, 0, 0  
SPLIT_THRESHOLD = 0.0
SPLIT_POSTFIX = _CUT  

[MESH_SPLIT_...]
MESHES = bake_turn
SPLIT_AXIS = 1, 0, 0  
SPLIT_THRESHOLD = 0.0
SPLIT_POSTFIX = _CUT  

[MESH_SPLIT_...]
MESHES = turn_ref
SPLIT_AXIS = 1, 0, 0  
SPLIT_THRESHOLD = 0.0
SPLIT_POSTFIX = _CUT  

[MESH_SPLIT_...]
MESHES = turn
SPLIT_AXIS = 1, 0, 0  
SPLIT_THRESHOLD = 0.0
SPLIT_POSTFIX = _CUT 

[ITEM_2]
INPUT = SPEED
TYPE_EXT = ddm_4010
