; New car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = body01, body02, body03
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
Materials = body01, body02, body03
LocalReflectionsForce = 1

[Material_CarPaint_Metallic]
AmbientSpecular = 1

[AUDIO_VOLUME]
BACKFIRE_EXT=1
BACKFIRE_INT=1
BODYWORK=1
DIRT=1
DOWN_SHIFT=1
ENGINE_EXT=1
ENGINE_INT=1
GEAR_EXT=0.5
GEAR_GRIND=1
GEAR_INT=0.4
HORN=1
LIMITER=1
TRACTION_CONTROL_EXT=1
TRACTION_CONTROL_INT=1
SKID_EXT=1
SKID_INT=1
TRANSMISSION=0.5
TURBO=1
WIND=1

[BRAKEDISC_FX]
ACTIVE = 1             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 1            ; use ceramic look
CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 20  ; 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.1, 0.2  ; 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.02  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.5, 0.3        ; everything looking away more than 50% is a deepening

[INCLUDE: common/gt3_exhaust_glow.ini]
[EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = 
COLOR = 25, 3, 0, 3
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 82
INPUT_MAX = 100
INPUT_LUT = (| 84 = 0 | 95 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3



;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = 
ThicknessMult = 2.5
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 5
FilmIOR=3.5

[INCLUDE: common/materials_interior.ini]
;PBR MATERIALS EXTERIOR
[Material_Carbon]
Materials = 
BrightnessAdjustment = 0.1
ClearCoatF0 = 0.50
DetailScale = 100

[INCLUDE: common/materials_carpaint.ini]
[Material_InteriorPBRDetail]
Materials = 
DetailNormalTexture = 
DetailScale = 15
ApplyTilingFix = 1
BrightnessAdjustment = 0.25
DetailNormalPBRSmoothness = 0.8
DetailNormalPBRSmoothnessGamma = 1
Metalness = 0.2
Reflectance = 0.1
LocalReflectionsSharpness = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 1

[INCLUDE: common/materials_carpaint.ini]
[Material_Metal_v2]
Materials = 
BrightnessAdjustment = 0.2
DetailScale = 700
Metalness = 0.10
Reflectance = 0.05
LocalReflectionsSharpness = 0.5			
DetailTexture = 1

[Material_Plastic_v2]
Materials = 
BrightnessAdjustment = 0.1
DetailScale = 100

;INTERIOR PBR
[INCLUDE: common/materials_interior.ini]
[Material_Metal_v2]
Materials = 
BrightnessAdjustment = 0.05
DetailScale = 0
Metalness = 0.20
Reflectance = 0.10
LocalReflectionsSharpness = 0.1
DetailTexture = 1
[Material_Velvet]
Materials=
BrightnessAdjustment=0.3
[Material_Carpet]
Materials=
[Material_Leather]
Materials=
BrightnessAdjustment = 0.20
[Material_Plastic]
Materials=
BrightnessAdjustment = 0.10
[Material_Carbon]
Materials=
DetailScale = 800
BrightnessAdjustment = 0.30
ClearCoatF0 = 0.15
Reflectance = 0.1


[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/materials_glass.ini]

[WIPERS]
FRONT_0= wiper 
FRONT_1=  
WIND_THRESHOLDS_KMH = 180, 300  ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1        ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1        ; multiplier for frequency
WIND_OFFSET = 0.03

[WIPERS_TRACE_...]
SURFACE = Glass001
WIPERS = essui glace balai_SUB1


[BASIC]
DIESEL_ENGINE = 0 		; or 1

[PARTICLES_FX_EXHAUST_0]
POSITION=-0.061,0.551,-2.187
DIRECTION=0,0,-1
COLOR = 0.4,0.4,0.4 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1.5, 2 				; how long particles last in the air before disappearing
SPEED = 0.15, 0.25 				; how fast smoke particles fly from the exhaust
SPREAD = 0.15				; initial spread of particles
STARTING_SIZE = 0.05			; initial size of particles
SPAWN_OFFSET = 0.05			; initial spawn point offset (length-wise)
INTENSITY = 0.5, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 70 		; speed at

		
[PARTICLES_FX_EXHAUST_1]
POSITION=0.061,0.551,-2.187
DIRECTION=0,0,-1
COLOR = 0.4,0.4,0.4 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1.5, 2 				; how long particles last in the air before disappearing
SPEED = 0.15, 0.25 				; how fast smoke particles fly from the exhaust
SPREAD = 0.15				; initial spread of particles
STARTING_SIZE = 0.05			; initial size of particles
SPAWN_OFFSET = 0.05			; initial spawn point offset (length-wise)
INTENSITY = 0.5, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 70 		; speed at


