; self-lighting
[DATA] 
DISABLE_LIGHTSINI=0

[BASIC]
ENGINE_STALLED_RPM_THRESHOLD=1

[EXTRA_FX]
SKIP_GBUFFER=

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

[Material_Metal_v2] ; Chrome Wheels
Materials= WORK_EQUIP_05_RIM, WORK_EQUIP_05_CENTERCAP
BrightnessAdjustment = 0.32
DetailScale = 25
Metalness = 0.76
Reflectance = 0.1
LocalReflectionsSharpness = 0.8

[Material_Metal_v2] ;  Chrome window trim
Materials= Silver_windowtrim
BrightnessAdjustment = 0.07
DetailScale = 25
Metalness = 0.16
Reflectance = 0.1
LocalReflectionsSharpness = 0.8
ApplyTilingFix = 1

[Material_Metal_v2] ;  Rear fittings
Materials= BLUE_PIPES
BrightnessAdjustment = 0.1
DetailScale = 28
Metalness = 0.08
Reflectance = 0.08
LocalReflectionsSharpness = 0.8

[Material_Metal_v2] ;  SEAT BELT BUCKLES
Materials= INT_Aluminium, None__HARNAIS_OFF_png
BrightnessAdjustment = 0.1
DetailScale = 11
Metalness = 0.18
Reflectance = 0.1
LocalReflectionsSharpness = 0.8

[Material_Metal_v2] ;  SHIFTER SILVER
Materials= Interior_boltscclamps_silver_, Interior_shifterplate_bolts
BrightnessAdjustment = 0.3
DetailScale =111
Metalness = 0.23
Reflectance = 0.1
LocalReflectionsSharpness = 0.8

[Material_InteriorPBRDetail] Interior seat belt silver
Materials= Interior_Seatharnessmetal
Metalness = 0.2
Reflectance = 0.07
BrightnessAdjustment = 0.1
DetailNormalTexture = common/scratches_NM.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 3
Smoothness = 0.55

[Material_InteriorPBRDetail] Intercooler
Materials= s14_intercooler_chrome
Metalness = 0.1
Reflectance = 0.07
BrightnessAdjustment = 0.15
DetailNormalTexture = common/scratches_NM.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 0
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 3
Smoothness = 0.55

[Material_InteriorPBRDetail] Shifter plate
Materials= Interior_shifterplate
Metalness = 0.03
Reflectance = 0.03
BrightnessAdjustment = 0.12
DetailNormalTexture = common/Scratches.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
DetailScale = 22
DetailNormalBlend = 1
DetailNormalPBRSmoothnessGamma = 3
Smoothness = 0.55

[Material_Plastic_v2] Headlight plastic
Materials= lempos
Reflectance = 0.15
BrightnessAdjustment = 0.25
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.8
DetailNormalBlend = 1
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 1
DetailTextureBlur = 1
DetailScale = 13

[Material_Plastic_v2]
Meshes = HeadlightHousing
BrightnessAdjustment = 0.11
DetailScale = 40
DetailTextureBlur = 1
DetailNormalBlend = 1
Reflectance = 0.2

[Material_Plastic_v2]
Meshes = shadowline
BrightnessAdjustment = 0.11
DetailScale = 40
DetailTextureBlur = 1
DetailNormalBlend = 1
Reflectance = 0.2

[Material_Carbon] DASH
Materials = dashboard
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.21
CubemapReflectionBlur = 0.55
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.9
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 266

[Material_Carbon] SEATS BACK
Materials = INT_Carbon
HasDetailNormals = 1
Smoothness = 0.8
Reflectance = 0.21
CubemapReflectionBlur = 0.55
UseClearCoat = 1
ClearCoatSmoothness = 1.0
ClearCoatIntensity = 0.9
DetailTexture = common/carbon.png
DetailNormalTexture = common/carbon_nm.png
DetailNormalBlend = 1
DetailScale = 366

[Material_InteriorPBRDetail] 
Materials =  Interior_shifthandbrake_can, Interior_shifterplate
Metalness=0.005
Smoothness = 0.1
Reflectance = 0.1
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.1
DetailNormalBlend = 0.2
DetailScale = 160
ApplyTilingFix=1
NormalsMode = BASIC

[Material_InteriorPBRDetail] BUTTON BOX
Materials =  x8metalOsc
Metalness=0.005
Smoothness = 0.1
Reflectance = 0.1
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.1
DetailNormalBlend = 0.2
DetailScale = 160
ApplyTilingFix=1
NormalsMode = BASIC

[Material_Velvet_v2]
Materials = INT_clacantara
BrightnessAdjustment = 0.1
DetailScale = 45
ApplyTilingFix=1

[Material_Velvet_v2]
Materials = hgkdash006map002
BrightnessAdjustment = 0.08
DetailScale = 42
ApplyTilingFix=1

[Material_Velvet_v2]
Materials = Material #2056
BrightnessAdjustment = 0.1
DetailScale = 45
ApplyTilingFix=1

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

[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = tag_wheel_rear

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.6
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_Metallic]
Materials = Wheel, BRAKEMARKER, LUGNUTS
FresnelMax = 0.3
FresnelC = 0.1
BrightnessAdjustment = 0.8
SpecularBase = 0.5, 100
SpecularSun = 0, 200
SpecularMult = 0.15
AmbientSpecular = 1.0
AmbientSpecularEXP= 2.0
UseDiffuseAlphaAsMask = 1
ClearCoatThickness = 0.01
ClearCoatTint = 0, 0, 0
NormalsMode = BASIC

[Material_InteriorPBRDetail] 
Materials = Cage, Interior_Chassis, Rear_bashbar
Metalness=0.015
Smoothness = 0.1
Reflectance = 0.015
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.3
DetailNormalBlend = 1
DetailNormalTexture = common/scratches_NM.dds
DetailScale = 90
NormalsMode = BASIC

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

[Material_InteriorPBRDetail] 
Materials = FUELCELL
Metalness=0.03
Smoothness = 0.1
Reflectance = 0.03
HasDetailNormals=1
DetailTextures=1
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.26
DetailScale = 90
NormalsMode = BASIC


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

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

[Material_Glass]
Meshes = WINDOWS_EXT, WINDOWS_EXT001
ThicknessMult = 2
FresnelC = 0.15

[Material_Glass]
Materials = HGK_Trunk_Plexi 
ThicknessMult = 0.8
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5

[Material_Glass]
Meshes=glassltl_a07_002, glassctl_a07_002, glassrtl_a07_002
IOR = 1.8          			 		; looks better like this
FilmIOR = $IOR      		 		; redefine IOR for external film layer to increase reflections
ThicknessMult = 1 					; thicker glass passes less light through
ProfileFix = 0.05    				; adds thickness to glass for glazing angles
MaskPass = 3.5           			; mask pass opacity
MaskPassColor = 0, 0, 0  			; mask pass color adjustment
ExtraLightsAdjustment = 0.1 

[Material_Glass]
Meshes= glassltl_a05_002, glassrtl_a05_002, glassctl_a05_002
IOR = 1          ; looks better like this
FilmIOR = 2      ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.8  ; thicker glass passes less light through
ProfileFix = 0.1    ; adds thickness to glass for glazing angles
MaskPass = 10          ; mask pass opacity
MaskPassColor = 255, 0, 0  ; mask pass color adjustment
		
[Material_Glass]
Meshes=
IOR = 2.3          			 		; looks better like this
FilmIOR = $IOR      		 		; redefine IOR for external film layer to increase reflections
ThicknessMult = 2 					; thicker glass passes less light through
ProfileFix = 0.05    				; adds thickness to glass for glazing angles
MaskPass = 3.5           			; mask pass opacity
MaskPassColor = 0, 0, 0  			; mask pass color adjustment
ExtraLightsAdjustment = 0.1 

[Material_Glass]
Meshes= 
IOR = 1.760              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 1  ; thicker glass passes less light through
ProfileFix = 0.04    ; adds thickness to glass for glazing angles
MaskPass = 5            ; mask pass opacity
MaskPassColor = 255, 0, 0  ; mask pass color adjustment

[Material_PhotoelasticGlass]
Meshes = 
PhotoelasticityBaseScale = 1.5
PhotoelasticityNoiseScale = 0.04
PhotoelasticitySpotsScale = 0.5
PhotoelasticitySpotsOffset = 0.2
PhotoelasticityStripesScale = 10
ProfileFix = 0.025
;---------------------///light///---------------------

[LIGHT_EXTRA_...] ; Low Beam
BOUND_TO = HeadlightLens
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.68, 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

[EMISSIVE_EXTRA_A...]
NAME = 
COLOR = 80, 80, 120, 10.5
LAG = 0
SIMULATE_HEATING = 0.0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 0.64
LOCATION = FRONT
CAST_LIGHT = 0

[EMISSIVE_EXTRA_A...]
NAME = Reverse_lights_lens, Reverse_lights_housing 
COLOR = 80, 80, 120, 25.5
LAG = 0
SIMULATE_HEATING = 0.0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 0.68
LOCATION = REAR
CAST_LIGHT = 0

[EMISSIVE_BRAKE_...]
NAME= taillightl_a13_002
COLOR = 255,0,0,5
LAG=0.7
LOCATION = REAR
FALLBACK_HEADLIGHTS_COLOR = 0,0,0,0
CAST_LIGHT = 1

[EMISSIVE_BRAKE_2]
NAME=vdc_front_light
COLOR=85,3,3,10
CAST_LIGHT=1
LAG=0
SIMULATE_HEATING=3
LOCATION=FRONT

[EMISSIVE_REVERSE_...]
NAME= 
COLOR=1,1,1,00
LAG=0.7
SIMULATE_HEATING=1
CAST_LIGHT=1

[EMISSIVE_EXTRA_A_...]
NAME = tailightc_a11_002, taillightcbulbs_a07_002
COLOR = 80, 80, 120, 25.5
LAG = 0
SIMULATE_HEATING = 0.0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 0.68
LOCATION = REAR
CAST_LIGHT = 0



[EMISSIVE_EXTRA_C_0]
BIND_TO_EXTRA_C=1
BIND_TO_HEADLIGHTS=0
NAME = 
COLOR=0,0,0.1,1         ; glowing color if condition is met
OFF_COLOR = 0,0,0         ; glowing color otherwise, default value is 0
LAG = 0.1                  ; with zero, turns on and off immediately
SIMULATE_HEATING = 0      ; adds heating effect, going through orange tint while turning on and off
LOCATION =FRONT             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 0       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights
TOGGLE_VISIBILITY=1	
TOGGLE_VISIBILITY_INVERSE=1

[EMISSIVE_EXTRA_B_0]
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME = 
COLOR=0,0,0.1,1         ; glowing color if condition is met
OFF_COLOR = 0,0,0         ; glowing color otherwise, default value is 0
LAG = 0.1                  ; with zero, turns on and off immediately
SIMULATE_HEATING = 0      ; adds heating effect, going through orange tint while turning on and off
LOCATION =FRONT             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 0       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights
TOGGLE_VISIBILITY=1	
TOGGLE_VISIBILITY_INVERSE=1

----------------------sound-----------------------

[AUDIO_VOLUME]
ENGINE_EXT = 1.1
ENGINE_INT = 1.1
GEAR_EXT = 2.0
GEAR_INT = 2.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 2.0
BACKFIRE_INT = 2.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 2.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.6
SKID_INT = 0.6
