[INCLUDE]
INCLUDE=common/no_popup_lights.ini

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

[Material_CarPaint_Metallic]
FresnelMax = 1.5
FresnelC = 0.66
BrightnessAdjustment = 0.78
ColoredSpecular = 4.6
AmbientSpecular = 2.35
AmbientSpecularEXP = 1.85
ClearCoatThickness = 0.9

[Material_CarPaint_Metallic]
CarPaintMaterial = body
AmbientSpecular = 1.53
ColoredSpecular = 0.95
AmbientSpecularEXP = 3.62
BrightnessAdjustment = 0.73

[Material_Leather]
Materials = interior_black
DetailNormalBlend = 1.1
BrightnessAdjustment = 0.063
DetailTextureBlur = 0
DetailScale = 2030
ApplyTilingFix = 1.02
Reflectance = 0.796
Smoothness = 0.85
DetailNormalPBRSmoothnessGamma =0.81
DetailNormalPBRReflectance = 0.23
DetailNormalPBRSecondaryColor = 0.1187, 0.137, 0.31, 1.1

---------------------------------------------------------------
[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME = headlight_winkar_R01
COLOR = 70,40,0,200
LAG = 0.2
BLINK_FREQENCY_HZ = 1.0
SIMULATE_HEATING = 0
LOCATION = NONE
CAST_LIGHT = 0

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME = winkar_glass_RR03
COLOR = 70,40,0,200
LAG = 0.2
BLINK_FREQENCY_HZ = 1.0
SIMULATE_HEATING = 0
LOCATION = NONE
CAST_LIGHT = 0


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME = headlight_winkar_L01
COLOR = 70,40,0,200
LAG = 0.2
BLINK_FREQENCY_HZ = 1.0
SIMULATE_HEATING = 0
LOCATION = NONE
CAST_LIGHT = 0

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME = winkar_glass_LR03
COLOR = 70,40,0,200
LAG = 0.2
BLINK_FREQENCY_HZ = 1.0
SIMULATE_HEATING = 0
LOCATION = NONE
CAST_LIGHT = 0

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 0.821268, 0.67319, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_SMOOTH=50
LAG=0.5
INTERIOR_ONLY=0
LOWBEAM_RANGE_MAX=600
LOWBEAM_RANGE_MULT=1
LOWBEAM_RANGE_ONCOMING_MULT=0.6
MIRROR=0.564767
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.564767
OFF_MULT=0
OFF_POSITION=0, 0.540612, 1.91228
OFF_RANGE_MULT=0.125
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POPUP_ENABLED=0
POPUP_END=0
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_START=0.05
POSITION=0, 0.540612, 1.91228
RANGE=240
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=124.68
SECOND_SPOT_INTENSITY=0.21
SECOND_SPOT_RANGE=16
SECOND_SPOT_SHARPNESS=0.539
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=50.6
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0
SPOT_UP=0, 1, 0

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
COLOR=1, 0, 0, 3
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=1
FADE_AT=120
FADE_SMOOTH=30
LAG=0.5
INTERIOR_ONLY=0
MIRROR=0.468203
OFF_COLOR=1, 0.0911936, 0.0265662, 1.35
OFF_FADE_MULT=0.674586
OFF_MIRROR=0.549986
OFF_MULT=0.1
OFF_POSITION=0, 0.54357, -1.98224
OFF_RANGE_MULT=0.767561
POSITION=0, 0.547034, -1.98224
RANGE=3
RANGE_GRADIENT_OFFSET=0.4
SPECULAR_MULT=1
SPOT=165.5
SPOT_EDGE=0.582, 0.582, 0.582
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3475


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


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




[BASIC]
OPEN_WHEELER = 0               ; patch uses info on if car is open wheeler or not a lot (for example, for how sparks or tyres would look, or even how car is rendered in rendering queue). it gets that info from “ui_car.json E but it could be generally more reliable to set it explicitly
RALLY_CAR = 0                  ; similar thing, although rally check is only used for switching headlights to rally mode if it’s a single car race
DIESEL_ENGINE = 0              ; if engine is diesel or not (used for exhaust smoke color)
BRAKES_THRESHOLD = 0.01        ; threshold for brake lights to turn on, of brake pedal
LIGHT_DAMAGE_SPEED_MIN = 80    ; speed for lights to start breaking
LIGHT_DAMAGE_SPEED_MAX = 120   ; speed for lights to fully break
IS_LOW_BEAM_AVAILABLE = 1      ; are low beams an option (by default, they’re available on street cars only)
HEADLIGHTS_ARE_HEADLIGHTS = 1  ; are headlights what they are (some rare racing cars use headlights as a way to animate dashboard or things like that instead)
STOP_LODS_ADJUSTMENT = 0       ; prevents patch from adjusting LODs even if user prefers LODs to work differently (like, forcing LOD B for other cars)


[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

; Patch would try and guess size of brake disc and its inside area from its mesh, but if it fails:
DISC_RADIUS = 0.25           ; radius of a brake disc
DISC_INTERNAL_RADIUS = 0.15  ; 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 E could be changed if needed:
RIM_RADIUS = 0.35  ; inside radius of a rim
RIM_HEIGHT = 0.2   ; dis



[BASIC]
DIESEL_ENGINE = 0 		; or 1

[PARTICLES_FX_EXHAUST_1]
POSITION = -0.414,0.780,-2.146 		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 	


[PARTICLES_FX_EXHAUST_2]
POSITION =0.414,0.785,-2.141 		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 	


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



[REFRACTING_HEADLIGHT_0]
SURFACE = headlight_glass01
INSIDE = reflect_headlight01,headlight_in01,headlight_out01,headlight_winkar_body_L01,headlight_winkar_body_R01,headlight_winkar_glass_L01,headlight_winkar_glass_R01,headlight_winkar_L01,headlight_winkar_R01,headlight_plasticPattern01

ABSORPTION = 0
AMBIENT_MULT = 1
BASE_EMISSIVE_K = 0.11
BOUNCED_BACK_MULT = 1
BULB_BLUR_K = 2.1
BULB_REFLECTION_K = 0.25
CUSTOM_BULB_0 = 0.5, 0.5, 0, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 2.69
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.0449824, -0.0797745, -0.997426
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.25
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.48
GLASS_COLOR = 1, 0.9999, 0.9999
GLASS_EMISSIVE_MULT = 0
GLASS_EXTRA_THICKNESS = 0.0005
INNER_SPECULAR = 20
INNER_SPECULAR_EXP = 709
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00336, -1.94181e-06, -8.61287e-06
MIRROR_POS = 0.000488281, -0.00319481, -0.00476074
NM_SHARE_EXT = 0.47
NM_SHARE_INT = 0.42
ORIGIN = -0.560883, 0.127093, 2.09644
RADIUS = 0.1936
RAYTRACE_STEP_INCREASE = 1
RAYTRACE_STEP_START = 0
REFLECTIVENESS_DIFFUSE_MULT = 6.4
REFLECTIVENESS_MULT = 4.7
REFLECTIVE_GAMMA = 1.5
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.35
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

SYNC_EMISSIVE_AUTO = 1





[REFRACTING_HEADLIGHT_1]
SURFACE = fog_glass01
INSIDE = fog01

ABSORPTION = 0
AMBIENT_MULT = 1
BASE_EMISSIVE_K = 0.69
BOUNCED_BACK_MULT = 0.76
BULB_BLUR_K = 1.8
BULB_REFLECTION_K = 0.62
CUSTOM_BULB_0 = 0.5, 0.5, 0, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 6.06
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.00185628, -0.000258515, -0.999998
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.03
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 81
F0 = 0.7
GLASS_COLOR = 1, 0.9999, 0.9999
GLASS_EMISSIVE_MULT = 0.06
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 20
INNER_SPECULAR_EXP = 701
IOR = 1
IOR_FLYOUT_FLAT = 0.7
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00265, -5.6671e-06, -1.57207e-06
MIRROR_POS = 0.000541687, -0.00357914, 0.000366211
NM_SHARE_EXT = 0.46
NM_SHARE_INT = 0.47
ORIGIN = -0.755127, -0.341685, 1.80223
RADIUS = 0.0555001
RAYTRACE_STEP_INCREASE = 1
RAYTRACE_STEP_START = 0
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 7.4
REFLECTIVE_GAMMA = 0.6
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

SYNC_EMISSIVE_AUTO = 1



[REFRACTING_HEADLIGHT_2]
SURFACE = taillight_glass03
INSIDE = taillight03,plasticRed_taillight03,plastic_taillight03

ABSORPTION = 0
AMBIENT_MULT = 1
BASE_EMISSIVE_K = 0.07
BOUNCED_BACK_MULT = 0.79
BULB_BLUR_K = 1.6
BULB_REFLECTION_K = 0.61
CUSTOM_BULB_0 = 0.5, 0.5, 0, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 1.26
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.00185183, -0.00026064, 1.00019
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.09
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 130
F0 = 0.03
GLASS_COLOR = 1, 0.9999, 0.9999
GLASS_EMISSIVE_MULT = 0.02
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 20
INNER_SPECULAR_EXP = 611
IOR = 1
IOR_FLYOUT_FLAT = 0.69
LOD_BIAS = -0.6
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.0027, -9.90223e-06, -3.14787e-06
MIRROR_POS = -0.000793457, -0.00393486, 5.72205e-05
NM_SHARE_EXT = 0.3
NM_SHARE_INT = 0.62
ORIGIN = -0.625519, 0.322038, -2.01722
RADIUS = 0.1192
RAYTRACE_STEP_INCREASE = 1
RAYTRACE_STEP_START = 0
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.92
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

SYNC_EMISSIVE_AUTO = 1





[REFRACTING_HEADLIGHT_3]
SURFACE = Back_lamp_glass03
INSIDE = Back_lamp03

ABSORPTION = 0.132
AMBIENT_MULT = 0.91
BASE_EMISSIVE_K = 0.07
BOUNCED_BACK_MULT = 0.77
BULB_BLUR_K = 4
BULB_REFLECTION_K = -0.35
CUSTOM_BULB_0 = 0.5, 0.5, 0, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 3.82
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.00185288, -0.000280448, 0.999998
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.53
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 353
F0 = 1
GLASS_COLOR = 1, 0.9999, 0.9999
GLASS_EMISSIVE_MULT = 0.13
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 18.4
INNER_SPECULAR_EXP = 600
IOR = 1
IOR_FLYOUT_FLAT = 0.51
LOD_BIAS = 0
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00349, -1.1895e-05, -3.93018e-07
MIRROR_POS = 0.00369263, -0.00393009, 4.95911e-05
NM_SHARE_EXT = 0.4
NM_SHARE_INT = 0.57
ORIGIN = -0.586426, 0.347102, -1.7591
RADIUS = 0.0530001
RAYTRACE_STEP_INCREASE = 1
RAYTRACE_STEP_START = 0
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 0.7
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.52
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1

SYNC_EMISSIVE_AUTO = 1



[REFRACTING_HEADLIGHT_4]
SURFACE = winkar_glass_LR,winkar_glass_RR
INSIDE = winkar_LR,winkar_RR

ABSORPTION = 0.092
AMBIENT_MULT = 0.91
BASE_EMISSIVE_K = 0.07
BOUNCED_BACK_MULT = 0.77
BULB_BLUR_K = 1.2
BULB_REFLECTION_K = -1
CUSTOM_BULB_0 = 0.5, 0.5, 0, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 3.82
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.00185579, -0.000288288, 1.00048
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 3.84
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 353
F0 = 1
GLASS_COLOR = 1, 0.9999, 0.9999
GLASS_EMISSIVE_MULT = 0.13
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 18.4
INNER_SPECULAR_EXP = 600
IOR = 1
IOR_FLYOUT_FLAT = 0.51
LOD_BIAS = 0
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00386, -1.27295e-05, 1.81422e-06
MIRROR_POS = 0.00778198, -0.00398922, 0.00012207
NM_SHARE_EXT = 0.4
NM_SHARE_INT = 0.57
ORIGIN = -0.575974, 0.312039, -1.7908
RADIUS = 0.0530001
RAYTRACE_STEP_INCREASE = 1
RAYTRACE_STEP_START = 0
REFLECTIVENESS_DIFFUSE_MULT = 100
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 0.7
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.52
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



SYNC_EMISSIVE_AUTO = 1