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

[BASIC]
HEADLIGHTS_ARE_HEADLIGHTS=1

------------------------------------------------------------------------------------------------------------------------------------------------
				                 ||||||||||Reverse Lights|||||||||
------------------------------------------------------------------------------------------------------------------------------------------------

[EMISSIVE_REVERSE_0]
NAME=taillight_pattern
COLOR=22,22,22, 1
LAG=0.0
SIMULATE_HEATING=0

[EMISSIVE_REVERSE_1]
NAME=taillight_chrome
COLOR=22,22,22, 1
LAG=0.0
SIMULATE_HEATING=0

------------------------------------------------------------------------------------------------------------------------------------------------
				                       |||||||||||Emissive Lights||||||||||||
------------------------------------------------------------------------------------------------------------------------------------------------

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=0.5
COLOR=10,10,14,1
DIFFUSE_CONCENTRATION=0.8
DIRECTION=0, 0.0, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=30
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.82
MIRROR_DIRECTION=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.5
OFF_MULT=1
OFF_POSITION=0, 0.58216, 1.4877
OFF_RANGE_MULT=0.3
POSITION=0, 0.7, 2
RANGE=210
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=80
SECOND_SPOT_INTENSITY=1
SECOND_SPOT_RANGE=20
SECOND_SPOT_SHARPNESS=0.0
SECOND_SPOT_SKIP=0.0
SPECULAR_MULT=1
SPOT=65
SPOT_EDGE=0.0922464, 0.0919776, 0.09144
SPOT_EDGE_SHARPNESS=21.2
SPOT_SHARPNESS=0
SPOT_UP=0.02, 0.999847, 0

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=8
COLOR=1, 0, 0, 10
DIFFUSE_CONCENTRATION=1
DIRECTION=0, 0, -1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=1.2
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=0
OFF_COLOR=1, 0, 0, 10 
OFF_FADE_MULT=0.5
OFF_MIRROR=0.5
OFF_MULT=1
OFF_POSITION=0, 0.72877, -2
OFF_RANGE_MULT=1
POSITION=0, 0.72877, -1.9
RANGE=4
RANGE_GRADIENT_OFFSET=0.
SINGLE_FREQUENCY=0
SPECULAR_MULT=0
SPOT=150
SPOT_EDGE=0.406, 0.406, 0.06
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3675

------------------------------------------------------------------------------------------------------------------------------------------------
				                        ||||||||||||Flames|||||||||||||
------------------------------------------------------------------------------------------------------------------------------------------------

[EXHAUST_FLAMES]
ANTILAG=0
ANTILAG_DELAY=0.0
ANTILAG_INTENSITY=0
ANTILAG_INTERVAL_MAX=0.0
ANTILAG_INTERVAL_MIN=0.00
ANTILAG_TURBO_THRESHOLD=0.0
DAMAGE=0
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1
DISCHARGE_CHARGE_TIME=0
DISCHARGE_DELAY=0.02
DISCHARGE_DURATION=0.3
DISCHARGE_INTENSITY=0.01
DISCHARGE_PROBABILITY=0.8
DISCHARGE_RPM_THRESHOLD_MAX=9000
DISCHARGE_RPM_THRESHOLD_MIN=4000
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=74
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.5
FLAT_SHIFT_DURATION=0.01
FLAT_SHIFT_GAS_THRESHOLD=50
FLAT_SHIFT_INTENSITY=0.25
FLAT_SHIFT_PROBABILITY=0.4
FLAT_SHIFT_RPM_THRESHOLD=7000
LIMITER=0
LIMITER_DELAY=0.0
LIMITER_INTENSITY=0
LIMITER_RPM_THRESHOLD=0

------------------------------------------------------------------------------------------------------------------------------------------------
					        ||||||||||Brakes|||||||||||
------------------------------------------------------------------------------------------------------------------------------------------------

[BRAKEDISC_FX]
ACTIVE = 1           
CERAMIC = 0            
CARVED = 0           
CARVED_FREQUENCY = 20 
GLOW_OFFSET = 0.6
WEAR_FORCE= 0.4    
ALPHA_MASK = 0.1, 0.2 
LUMINOCITY_MASK = 0,01, 0,02  
NORMAL_MASK = 0.5, 0.3   
DISC_RADIUS = 0.3          
DISC_INTERNAL_RADIUS = 0.1  
RIM_RADIUS = 0.5  
RIM_HEIGHT = 0.2  
GLOW_MULT =0.65

------------------------------------------------------------------------------------------------------------------------------------------------
					        ||||||||||Animations|||||||||||
------------------------------------------------------------------------------------------------------------------------------------------------
[ANIMATION_...]
INPUT = EXTRA_B             ; bind to reverse gear
FILE = car_hood.ksanim         ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
AFFECTS_INTERIOR_SHAPE = 0

[ANIMATION_...]
INPUT = EXTRA_C             ; bind to reverse gear
FILE = rear_hatch.ksanim         ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
AFFECTS_INTERIOR_SHAPE = 0

[ANIMATION_...]
INPUT = EXTRA_D             ; bind to reverse gear
FILE = car_door_L.ksanim         ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
AFFECTS_INTERIOR_SHAPE = 0

[ANIMATION_...]
INPUT = EXTRA_E             ; bind to reverse gear
FILE = car_door_R.ksanim         ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
TICK_TOCK_MODE = 0          ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 

------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------
---------------------------------------------------
                       Glass
---------------------------------------------------
---------------------------------------------------

[EXTRA_FX]
SKIP_GBUFFER = glassrhl_a2, windows_ext, hatch_windows_ext

MASK_BUFFER = glassrhl_a2, windows_ext, hatch_windows_ext

[Material_Glass]
Meshes = windows_ext, hatch_windows_ext
FresnelC = 0.2

[Material_Glass]
Meshes = decklid
FresnelC = 0.1

[Material_Glass]
Materials = headlight_glass
FresnelC = 0.08

[Material_Glass]
Materials = tail_glass
FresnelC = 0.1


[Material_Glass]
Materials= trunk_filltube
ThicknessMult = 0.6  ; thicker glass passes less light through
MaskPass = 1            ; mask pass opacity
PROP_1... = ksAmbient, 0.1
PROP_2... = ksDiffuse, 0.25
SEMITRANSPARENT_SHADOWS = TEXTURE

---------------------------------------------------
---------------------------------------------------
                       Body
---------------------------------------------------
---------------------------------------------------

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = carpaint, int_sill, hood_metal, caliper_paint
CarPaintVersionAware = 9999
DisableDev = 1

[Material_CarPaint_Metallic]
FresnelMax = 0.6
FresnelC = 0.06
BrightnessAdjustment = 0.9
SpecularMult = 0.2
AmbientSpecular = 1.5       
AmbientSpecularEXP = 3.5
PearlescentSpecular = 0.2
SpecularBase = 1, 50
SpecularSun = 2, 3000
PROP_0=extMetallicK, 0.4
NormalsMode = BASIC

[Material_CarPaint_Solid]
Materials = WHEELS
BaseSpecularColor = 0.1, 0.1, 0.1
BrightnessAdjustment = 0.75
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

[Material_CarPaint_Metallic]
Materials = WHEEL_CENTRE_VALVES
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.075

[Material_CarPaint_Metallic]
Materials = engine_blue, int_metal_blue
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.175

[Material_CarPaint_Metallic]
Materials = trunk_green, engine_metal_green
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.475

[Material_CarPaint_Metallic]
Materials = trunk_metal_red, trunk_metal_gold
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.475

[Material_CarPaint_Metallic]
Materials = int_gold, int_brass
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.475

[Material_CarPaint_Metallic]
Materials = int_plastic_red
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.475

[Material_CarPaint_Metallic]
Materials = trunk_chrome
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.275

[Material_CarPaint_Metallic]
Materials = suspension_metal_a, suspension_front_ao
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.275

[Material_CarPaint_Metallic]
Materials = enginebay_annodized
PROP_0... = detailUVMultiplier, 1.25
BrightnessAdjustment = 0.5

[Material_InteriorPBRDetail] 
Materials = int_gunmetal, rollcage, frame_metal, int_gunmetal
Metalness=0.015
Smoothness = 0.1
Reflectance = 0.015
HasDetailNormals=1
DetailTextures=1
BrightnessAdjustment = 1
DetailNormalBlend = 0.2
DetailScale = 90
NormalsMode = BASIC

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

[Material_Velvet_v2]
Materials = dash_carbon
Brightness = 0.1
DetailScale = 18
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothness = 0.33
ApplyTilingFix=1

[Material_Velvet_v2]
Materials = int_fabric
Brightness = 0.4
DetailScale = 18
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothness = 0.33
ApplyTilingFix=1

[Material_Velvet_v2]
Materials = steer_alcnt
Brightness = 0.1
DetailScale = 50
DetailNormalPBRFormat = 1
DetailNormalPBRSmoothness = 0.33
ApplyTilingFix=1

[Material_Fabric_v2]
Materials = suede_001
Brightness = 0.25
DetailScale = 20
ApplyTilingFix=1

[Material_Carbon] 
Materials = int_carbon
HasDetailNormals = 1
Reflectance = 0.1
CubemapReflectionBlur = 0
UseClearCoat = 0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.6
DetailScale = 650

[Material_Carbon] 
Materials = int_alum_polished_satin
HasDetailNormals = 1
Reflectance = 0.1
CubemapReflectionBlur = 0
UseClearCoat = 0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.6
DetailScale = 650

[Material_Carbon] 
Materials = ext_carbon
HasDetailNormals = 1
Reflectance = 0.1
CubemapReflectionBlur = 0
UseClearCoat = 0
ClearCoatIntensity = 1.0
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 0.6
DetailScale = 450

[Material_Metal_v2]
Meshes = enginebay_black
Metalness=0.1
Smoothness = 0.9
Reflectance = 0.1
CubemapReflectionBlur = 0.5
BrightnessAdjustment = 0.07
DetailNormalBlend = 0.2
DetailScale = 10

[Material_Aluminium_v2]
Materials = engine_metal_light, engine_weldseam, engine_machined, engine_light_tx
Metalness= 0.4
Smoothness = 1
Reflectance = 0.5
CubemapReflectionBlur = 1
BrightnessAdjustment =0.4
DetailNormalBlend = 0.2
DetailScale = 5
OcclusionMap=0.5

[Material_Aluminium_v2]
Materials = enginebay_metal_rough
Metalness= 0.1
Smoothness = 1
Reflectance = 0.1
CubemapReflectionBlur = 1
BrightnessAdjustment =0.1
DetailNormalBlend = 0.2
DetailScale = 5
OcclusionMap=0.5

[Material_Aluminium_v2]
Materials = trunk_metal_bright
Metalness= 0.1
Smoothness = 1
Reflectance = 0.5
CubemapReflectionBlur = -1
BrightnessAdjustment =0.1
DetailNormalBlend = 0.2
DetailScale = 5
OcclusionMap=1

[Material_Aluminium_v2]
Materials = trunk_metal_black
Metalness= 0.5
Smoothness = 0.5
Reflectance = 0.5
CubemapReflectionBlur = 1
BrightnessAdjustment =0.2
DetailNormalBlend = 0.2
DetailScale = 5
OcclusionMap=0.3

[Material_Aluminium_v2]
Materials = Dish_Metal
Metalness= 0.07
Smoothness = 1
Reflectance = 0.5
CubemapReflectionBlur = 1
BrightnessAdjustment =0.2
DetailNormalBlend = 0.2
DetailScale = 5
OcclusionMap=0.5

[Material_Aluminium_v2]
Meshes = engine_chrome, engine_metal_a
Metalness= 0.2
Smoothness = 1
Reflectance = 0.3
CubemapReflectionBlur = 1
BrightnessAdjustment =0.4
DetailNormalBlend = 1
DetailScale = 50

[Material_Aluminium_v2]
Meshes = hood_chrome, hood_metal_vents, ext_hoodpins
Metalness= 0.4
Smoothness = 1
Reflectance = 0.5
CubemapReflectionBlur = 0
BrightnessAdjustment =0.2
DetailNormalBlend = 0.1
DetailScale = 50

[Material_Aluminium_v2]
Meshes = mirror_dark_l, mirror_dark_r
Metalness= 0.2
Smoothness = 1
Reflectance = 0.5
CubemapReflectionBlur = 0
BrightnessAdjustment =0.1
DetailNormalBlend = 0.1
DetailScale = 50

[Material_Aluminium_v2]
Meshes = int_metal_bright
Metalness= 0.
Smoothness = 1
Reflectance = 0.15
CubemapReflectionBlur = 0
BrightnessAdjustment =0.5
DetailNormalBlend = 0.1
DetailScale = 50

[Material_Plastic_v2]
Meshes = engine_metal_dark
BrightnessAdjustment = 0.1
DetailScale = 0
Reflectance = 0.2
Smoothness = 0

[Material_Plastic_v2]
Meshes = engine_rubber
BrightnessAdjustment = 0.1
DetailScale = 50
Reflectance = 0.2
Smoothness = 0.1

[Material_Plastic_v2]
Meshes = engine_plastic_black
BrightnessAdjustment = 0.4
DetailScale = 0
Reflectance = 0.2
Smoothness = 0

[Material_Plastic_v2]
Meshes = enginebay_plastic, trunk_rubber
BrightnessAdjustment = 0.3
DetailScale = 0
Reflectance = 0.2
Smoothness = 0

[Material_Plastic_v2]
Materials = ext_plastic, trunk_plastic_2, trunk_plastic
BrightnessAdjustment = 0.05
DetailScale = 0
Reflectance = 0.03
Smoothness = 1

[Material_Plastic_v2]
Materials = trunk_plastic_2, trunk_plastic
BrightnessAdjustment = 0.45
DetailScale = 75
Reflectance = 0.0
Smoothness = 1

[Material_Plastic_v2]
Materials = headlight_plastic, headlight_metal_shell, headlight_detail
BrightnessAdjustment = 0.05
DetailScale = 75
Reflectance = 0.03
Smoothness = 1

[Material_Plastic_v2]
Meshes = int_metal_black
BrightnessAdjustment = 0.2
DetailScale = 0
Reflectance = 0.2
Smoothness = 0

[SHADER_REPLACEMENT_…]
ACTIVE = 1
MESHES = logos_a.001, keypad_labels, logos_c.001
PROP_0 = ksAmbient, 0.3
PROP_1 = ksDiffuse, 0.2
PROP_2 = ksSpecular, 0.07
PROP_3 = ksSpecularEXP, 100
PROP_4 = fresnelC, 0.2
PROP_5 = fresnelEXP, 2.5
PROP_6 = fresnelMaxLevel, 0.6




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

[AUDIO_VOLUME]
ENGINE_EXT = 1.8
ENGINE_INT = 1.8
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.8
BACKFIRE_INT = 1.8
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.8
TURBO = 2.5
SKID_EXT = 0.8
SKID_INT = 0.8

[AUDIO_PITCH]
ENGINE_EXT = 1.1
ENGINE_INT = 1.1
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.6
SKID_INT = 0.6



;---------------------///Emmissives///---------------------


[EMISSIVE_BRAKE_...]
NAME=taillights_brake
COLOR=230,9,0, 0.3
FALLBACK_HEADLIGHTS_COLOR=230,9,0, 0.1
CAST_LIGHT=1
SIMULATE_HEATING=0
LOCATION = REAR