[DATA] 
DISABLE_LIGHTSINI=1

[INCLUDE: common/navigators.ini]

[Navigator_StyleModernDark]
Meshes = lcd_m3
Resolution = 700, 420
Offset = 4, 0
Size = 700, 420
Brightness=4

/// Materials

[INCLUDE: common/materials_glass.ini]
ExteriorGlassFilmedMaterials= EXT_Glass1

[Material_Glass]
Meshes= rear_lights_glass, rear_lights_trunk
IOR = 1.460              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.8  ; 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_Glass]
Meshes= bmw_e46m3_05_lod0_glassLTL_detail_glass_clear_, bmw_e46m3_05_lod0_glassRTL_detail_glass_clear_, rear_lights_trunk_sub2
IOR = 1.460              ; looks better like this
FilmIOR = $IOR       ; redefine IOR for external film layer to increase reflections
ThicknessMult = 0.8  ; thicker glass passes less light through
ProfileFix = 0.24    ; adds thickness to glass for glazing angles
MaskPass = 1           ; mask pass opacity
MaskPassColor = 255, 255, 255  ; mask pass color adjustment

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

[Material_Glass]
Meshes = front_glassEXT
Materials = Windows
ThicknessMult = 1.8
EXTRA_MASK_PASS = 1
EXTRA_MASK_PASS_OPACITY = 0.9
BrightnessAdjustment = 1.0
PROP_1... = ksAmbient, 0.35
IOR = 1.490            ; looks better like this
MaskPassColor = 0, 255, 96  ; mask pass color adjustment

[Material_PhotoelasticGlass]
Meshes=glass_front_lights_sub1
PhotoelasticityBaseScale = 2      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.1  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.5   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.2  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 4   ; how many stripes are there
ProfileFix = 0.02

[INCLUDE: common/materials_interior.ini]
;PBR MATERIALS EXTERIOR

[Material_InteriorPBRDetail]
Materials = wheel_bbs_logo, Details, m3_logo, door_lock, INT_Display_REF
Reflectance=0.20
Smoothness=0.15
Metalness=0.10
CubemapReflectionBlur=0.95
Brightness=0.45
OcclusionMult=1
DetailScale=30
ApplyTilingFix=1
OcclusionSource = NONE

[Material_InteriorPBRDetail]
Materials = EXT_PLATE_plastic.001
Reflectance=0.10
Smoothness=0.15
Metalness=0.10
CubemapReflectionBlur=0.95
Brightness=0.45
OcclusionMult=1
DetailScale=30
ApplyTilingFix=1
OcclusionSource = NONE

[Material_Carbon]
Materials = ext_carbon
Brightness = 0.6
ClearCoatF0 = 0.35
Reflectance = 0.005
CubemapReflectionBlur = 0.0
DetailScale = 270

[Material_Carbon]
Materials = carbon
Brightness = 0.5
ClearCoatF0 = 0.40
Reflectance = 0.005
CubemapReflectionBlur = 0.0
DetailScale = 570

[Material_Metal_v2]
Materials = black_plastic_trunk, weatherstrip, black_plastic
Meshes = grill_inner, wiper_l_sub1, bmw_e46m3_05_lod0_body_black_
Brightness = 0.8
DetailScale = 0
OcclusionMult = 0.2
Smoothness = 1
CubemapReflectionBlur=0.0

[Material_Leather]
Meshes=bmw_e46m3_05_cockpit_interior_bump_leather_.001_SUB0
Brightness=0.17
DetailScale=60
ClearCoatF0 = 0.35
Reflectance = 0.105
CubemapReflectionBlur = 0.5

[Material_Leather]
Meshes=m3_seats_002
Brightness=0.8
DetailScale=60
ClearCoatF0 = 0.35
Reflectance = 0.105
CubemapReflectionBlur = 0.5

[Material_Plastic]
Materials=plastic
OcclusionMap= 1.0
BrightnessAdjustment= 0.05

[Material_Plastic_v2]
Materials = ext_plastic
BrightnessAdjustment = 0.0
DetailScale = 30
Metalness = 0.4
Reflectance = 0.7
OcclusionMap = 0.45

[Material_Plastic_v2]
Materials = frame_black
BrightnessAdjustment = 0.0
DetailScale = 60
Metalness = 0.85
Reflectance = 1.0
OcclusionMap = 0.45

[Material_Plastic]
Materials=wood
DetailScale=90
Brightness = 0.7
ClearCoatF0 = 0.35
Reflectance = 0.155
CubemapReflectionBlur = 0.0

[Material_InteriorPBRDetail]
Materials = BBS_lm_paint
ColorSource=DIFFUSE
Reflectance=0.5
Smoothness=1
Metalness=1
CubemapReflectionBlur=0.95
Brightness=0.8
OcclusionMult=2.5
DetailScale=20
ApplyTilingFix=1

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

[Material_CarPaint]
ClearCoatThickness = 0.2
SpecularColor = 1
SpecularMult = 0.7
FresnelMax = 0.3
FresnelC = 0.16
FlakesK = 1.7
BrightnessAdjustment = 0.8

[Material_CarPaint_Chrome]
Materials = Caliper_paint
FresnelMax = 0.8
FresnelC = 0.6
BrightnessAdjustment = 0.25
ColoredSpecular = 1.0
AmbientSpecular = 1.0
AmbientSpecularEXP = 0.5
ClearCoatThickness = 0.5
UseMetallicReflections = 1

/// Lights

[BOUNCED_BRAKE_LIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7

[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.7
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=1
DIRECTION=0, 1, -2
MULT=1, 1, 1, 1
OFFSET=0, -1, 3
RANGE=3.2
RANGE_GRADIENT_OFFSET=0.9
SPOT=20
SPOT_SHARPNESS=0.9

[EMISSIVE_HIGHBEAM_1]
NAME=HeadlightL_X_inside
ACT_AS_HEADLIGHTS=0
COLOR=45,45,50, 7.0
LAG=0.6
SIMULATE_HEATING=0.5

[EMISSIVE_HIGHBEAM_2]
NAME=Ultrace_logo_r
ACT_AS_HEADLIGHTS=1
COLOR=COLOR=5,5,5
LAG=0.6
SIMULATE_HEATING=0.0

[EMISSIVE_LIGHT_0]
BIND_TO_HEADLIGHTS=1
NAME=lamp_lens
COLOR=45,45,50, 8.0	
LAG=0.66
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
ACT_AS_HEADLIGHT=1

[LIGHT_EXTRA_...]
BOUND_TO = lamp_lens
COLOR=45,45,50, 3.0
DIFFUSE_CONCENTRATION=0.95
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
AFFECTS_TRACK=0
SIMULATE_HEATING=0
LAG=0.6
FADE_AT=90
FADE_SMOOTH=43
MIRROR=0.59, 0.0, 0
POSITION=0.000, 0.465, 1.55
DIRECTION=0, -0.2, 1
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=10
SPOT=35
SPOT_SHARPNESS=0.1

[EMISSIVE_LIGHT_1]
NAME=bmw_e46m3_05_cockpit_interior_badge_
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=70,0,0, 0.7
LAG=0.3
SIMULATE_HEATING=0.2
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_2]
NAME=bmw_e46m3_05_cockpit_interior_badge_.001
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=0,50,0, 1
LAG=0.3
SIMULATE_HEATING=0.2
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_3]
NAME=STEER_HR_badge_multifunction
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=70,0,0, 0.7
LAG=0.3
SIMULATE_HEATING=0.2
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_4]
NAME=Object007
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=10,0,0, 0.7
LAG=0.3
SIMULATE_HEATING=0.2
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_5]
NAME=bmw_e46m3_05_cockpit_speed_min_gauge_needle_, bmw_e46m3_05_cockpit_tach_min_gauge_needle_, bmw_e46m3_05_cockpit_interior_gauge_needle_, bmw_e46m3_05_cockpit_fuel_min_gauge_needle_
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=5,0,0, 0.7
LAG=0.3
SIMULATE_HEATING=0.2
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_6]
NAME=plate_lights
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=100,100,100, 1.5
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=REAR
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_7]
NAME=lcd_m3
TOGGLE_VISIBILITY = 0
BIND_TO_HEADLIGHTS=1
COLOR=1,1,1, 3
LAG=0.2
SIMULATE_HEATING=0.2
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

/// EXTRAS

[EMISSIVE_EXTRA_A_0]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=angel_eyes
COLOR=45,45,50, 3.0
LAG=0.4
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_EXTRA_A_1]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=warning_fog_lights_damage
COLOR=10,10,0, 3
LAG=0.2
SIMULATE_HEATING=0.5
LOCATION=INTERIOR

[ANIMATION_0]
FILE=airride.ksanim
TIME= 1.0
BIND_TO_EXTRA_B=1

/// Brake lights

[EMISSIVE_BRAKE_1]
NAME=Brake_Lights, Tail_Lights
TOGGLE_VISIBILITY = 0
COLOR=20,2,0, 22
FALLBACK_HEADLIGHTS_COLOR=20,0,0, 5
LAG=0.5
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_BRAKE_...]
NAME=Tail_Lights_Glass, bmw_e46m3_05_lod0_glassR_tail_light_lod0_
COLOR=255,0,0,1.5
FALLBACK_HEADLIGHTS_COLOR=
LAG=0.4
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_REVERSE_0]
NAME =rear_reverse_lights  ; name (one or more) of a mesh to glow
COLOR = 10, 10, 10, 5        ; glowing color if condition is met
LAG = 0.4                   ; with zero, turns on and off immediately
SIMULATE_HEATING = 0      ; adds heating effect, going through orange tint while turning on and off
LOCATION = REAR             ; light location used for damage and light guessing, default value depends on type
ACT_AS_HEADLIGHTS = 1       ; if set to 1, emissiveness is raised when camera is caught in car’s headlights

/// Cluster

[EMISSIVE_CLUSTER]
NAME=Object007
COLOR=4,0,0, 5
OFF_COLOR=0,0,0, 0
FALLBACK_HEADLIGHTS_COLOR=5,0,0, 1.5
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE

[EMISSIVE_HANDBRAKE_0]
NAME=warning_handbrake
TOGGLE_VISIBILITY = 0
COLOR=40,4,4,1
LAG=0.2

[EMISSIVE_HIGHBEAM_0]
NAME=warning_highbeam
ACT_AS_HEADLIGHTS=0
COLOR=0,0,15,5

[EMISSIVE_HAZARD_0]
NAME=bmw_e46m3_05_cockpit_interior_badge_hazard
COLOR=10,0,0 1

[EMISSIVE_...]
NAME=warning_pressure
TOGGLE_VISIBILITY = 0
COLOR=40,20,4,1
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 45
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_...]
NAME=warning_fuel
TOGGLE_VISIBILITY = 0
COLOR=40,20,4,4
INPUT=FUEL
INPUT_THRESHOLD = 10
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_0]
NAME=warning_TC
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=40,20,4, 1 
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
COLOR=40,20,4,1
NAME=warning_TC_ON
TOGGLE_VISIBILITY = 1
LAG=0.0

[EMISSIVE_ABS_0]
NAME=warning_abs
TOGGLE_VISIBILITY = 0
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.2

[EMISSIVE_...]
NAME=warning_st_wheel_002
TOGGLE_VISIBILITY = 0
COLOR=40,20,4,1
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

[EMISSIVE_ENGINE_TEMP_N]
NAME=warning_oil
TOGGLE_VISIBILITY = 0
COLOR=40,20,4,1
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 110
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_...]
NAME=warning_checkengine
TOGGLE_VISIBILITY = 0
COLOR=40,20,4,1
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=warning_brake
TOGGLE_VISIBILITY = 0
COLOR=40,20,4,1
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

[ODOMETER_MAIN]
DIGITAL_ITEM=9
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[ODOMETER_TRIP]
DIGITAL_ITEM=10
DIGITAL_ITEM_NUMBER_FORMAT=06.1
UPPER_BOUND=9999

/// Refraction

[REFRACTING_HEADLIGHT_0]
;HEADLIGHTS L
SURFACE = glass_front_lights_l_sub2
INSIDE = bmw_e46m3_05_lod0_headlightL_textured_reflector_signal
SYNC_EMISSIVE_AUTO = 1

[REFRACTING_HEADLIGHT_0]
ABSORPTION = 0
AMBIENT_MULT = 0.2
BASE_EMISSIVE_K = 0.03
BOUNCED_BACK_MULT = 0
BULB_BLUR_K = 3
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.351, 0.439, 0.053, 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 = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = 0.0841539, 0.997279, -0.00570833
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.95
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.4
GLASS_EXTRA_THICKNESS = 0.003
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.4
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00003, 0.0190086, 0.00599822
MIRROR_POS = 1.0991, -2.14714, -0.201967
NM_SHARE_EXT = 0.2
NM_SHARE_INT = 0.6
ORIGIN = 0.671304, -2.55877, -0.208428
RADIUS = 0.0752
RAYTRACE_STEP_START = 0.01
REFLECTIVENESS_DIFFUSE_MULT = 60.4
REFLECTIVENESS_MULT = 1.5
REFLECTIVE_GAMMA = 0.9
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.5
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1
RELATIVE_TO=E46

[REFRACTING_HEADLIGHT_1]
SURFACE = glass_front_lights_r_sub2
INSIDE = bmw_e46m3_05_lod0_headlightR_textured_reflector_singal
SYNC_EMISSIVE_AUTO = 1

[REFRACTING_HEADLIGHT_1]
ABSORPTION = 0
AMBIENT_MULT = 0.2
BASE_EMISSIVE_K = 0.03
BOUNCED_BACK_MULT = 0
BULB_BLUR_K = 3
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.684, 0.456, 0.053, 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 = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = 0.0841131, 0.996502, -0.00570293
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.95
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.4
GLASS_EXTRA_THICKNESS = 0.003
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.4
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.00076, 0.0190069, 0.00599994
MIRROR_POS = -1.09989, -2.14527, -0.202071
NM_SHARE_EXT = 0.2
NM_SHARE_INT = 0.6
ORIGIN = -0.728046, -2.54783, -0.208749
RADIUS = 0.0849001
RAYTRACE_STEP_START = 0.01
REFLECTIVENESS_DIFFUSE_MULT = 60.4
REFLECTIVENESS_MULT = 1.5
REFLECTIVE_GAMMA = 0.9
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.5
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1
RELATIVE_TO=E46

[REFRACTING_HEADLIGHT_2]
SURFACE = bmw_e46m3_05_signal_body_reflectorL_
INSIDE = bmw_e46m3_05_signal_body_reflectorL_inside
SYNC_EMISSIVE_AUTO = 1

[REFRACTING_HEADLIGHT_2]
ABSORPTION = 0
AMBIENT_MULT = 0.2
BASE_EMISSIVE_K = 0.03
BOUNCED_BACK_MULT = 0
BULB_BLUR_K = 3
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.526, 0.509, 0.053, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.518, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = -0.988487, 0.00172642, -0.0204434
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.95
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.4
GLASS_EXTRA_THICKNESS = 0.003
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.4
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00058, 0.0130168, 0.0059977
MIRROR_POS = 1.78554, -1.10106, -0.299994
NM_SHARE_EXT = 0.2
NM_SHARE_INT = 0.6
ORIGIN = 1.33954, -1.0877, -0.290771
RADIUS = 0.0531
RAYTRACE_STEP_START = 0.01
REFLECTIVENESS_DIFFUSE_MULT = 60.4
REFLECTIVENESS_MULT = 1.5
REFLECTIVE_GAMMA = 0.9
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.5
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1
RELATIVE_TO=E46

[REFRACTING_HEADLIGHT_3]
SURFACE = bmw_e46m3_05_signal_body_reflectorR
INSIDE = bmw_e46m3_05_signal_body_reflectorR_inside
SYNC_EMISSIVE_AUTO = 1

[REFRACTING_HEADLIGHT_3]
ABSORPTION = 0
AMBIENT_MULT = 0.2
BASE_EMISSIVE_K = 0.03
BOUNCED_BACK_MULT = 0
BULB_BLUR_K = 3
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.535, 0.509, 0.053, 0
CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0.518, 0.5, 0, 0
DIFFUSE_MAP_FILTER_MULT = 0
DIFFUSE_MAP_MULT = 0
DIRECTION = 0.999843, -0.0584538, -0.0198794
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.95
EXTRA_GLASS_COLORIZATION = 0
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.4
GLASS_EXTRA_THICKNESS = 0.003
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.4
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.00072, 0.0760624, 0.00599492
MIRROR_POS = -1.25392, -1.1014, -0.299871
NM_SHARE_EXT = 0.2
NM_SHARE_INT = 0.6
ORIGIN = -1.11233, -1.07101, -0.293782
RADIUS = 0.0531
RAYTRACE_STEP_START = 0.01
REFLECTIVENESS_DIFFUSE_MULT = 60.4
REFLECTIVENESS_MULT = 1.5
REFLECTIVE_GAMMA = 0.9
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.5
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1
RELATIVE_TO=E46

/// TURN SIGNALS

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=bmw_e46m3_05_lod0_headlightL_reflector_
COLOR=20,5,0, 2
FALLBACK_HEADLIGHTS_COLOR=0,0,0, 0
LAG=0.8
SIMULATE_HEATING=0.2
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=bmw_e46m3_05_lod0_headlightL_textured_reflector_signal
TOGGLE_VISIBILITY = 0
COLOR=20,5,0, 10
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=bmw_e46m3_05_signal_body_reflectorL_inside
TOGGLE_VISIBILITY = 0
COLOR=20,7,0, 2
LAG=0.5
SIMULATE_HEATING=0
LOCATION=SIDE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=bmw_e46m3_05_lod0_taillightL_reverse_light_lod0_
TOGGLE_VISIBILITY = 0
COLOR=20,10,0, 60
LAG=0.2
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_4]
NAME=rear_turnsignal_l
TOGGLE_VISIBILITY = 0
COLOR=20,5,0, 3
LAG=0.2
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_LEFT_5]
NAME=Warning_L
TOGGLE_VISIBILITY = 0
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=bmw_e46m3_05_lod0_headlightR_reflector_
TOGGLE_VISIBILITY = 0
COLOR=20,5,0, 2
FALLBACK_HEADLIGHTS_COLOR=0,0,0, 0
LAG=0.8
SIMULATE_HEATING=0.2
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=bmw_e46m3_05_lod0_headlightR_textured_reflector_singal
TOGGLE_VISIBILITY = 0
COLOR=20,5,0, 10
LAG=0.5
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=bmw_e46m3_05_signal_body_reflectorR_inside
TOGGLE_VISIBILITY = 0
COLOR=20,7,0, 2
LAG=0.5
SIMULATE_HEATING=0
LOCATION=SIDE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=bmw_e46m3_05_lod0_taillightR_reverse_light_lod0_
TOGGLE_VISIBILITY = 0
COLOR=20,10,0, 80
LAG=0.2
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_4]
NAME=rear_turnsignal_r
TOGGLE_VISIBILITY = 0
COLOR=20,5,0, 3
LAG=0.2
SIMULATE_HEATING=1
LOCATION=REAR
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_RIGHT_5]
NAME=Warning_R
TOGGLE_VISIBILITY = 0
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[EMISSIVE_TURNSIGNAL_..._5]
NAME=bmw_e46m3_05_cockpit_interior_badge_hazard
TOGGLE_VISIBILITY = 0
COLOR=2,20,2, 1
LAG=0.2
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=0
CLUSTER_THRESHOLD=0

[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0.71, 0, 0.69
EXTERIOR_ONLY=0
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
OFF_RANGE_MULT=0.5
POSITION=1.0, 0.66, 2.0
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
DIFFUSE_CONCENTRATION=0.88
DIRECTION=-0.71, 0, 0.69
EXTERIOR_ONLY=
FADE_AT=60
FADE_SMOOTH=20
INTERIOR_ONLY=0
MIRROR=0
MIRROR_DIRECTION=1
NO_SELF_SPECULAR=1
POSITION=-1.0, 0.66, 2.0
RANGE=2.4
RANGE_GRADIENT_OFFSET=0.5
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=140
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0.6

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=0
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[STATUS_BATTERY]
BASE_VOLTAGE=12.4
MAX_VOLTAGE=13.6
RPM_LAG=0.98

[STATUS_OIL]
PRESSURE_BASE=1
PRESSURE_LAG_DOWN=0.9985
PRESSURE_LAG_UP=0.998
PRESSURE_STEP=1
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_MULT=1
TEMPERATURE_RPM_FACTOR=0.03

[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1
