[INCLUDE]
INCLUDE=common/no_popup_lights.ini

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

[Material_CarPaint_Solid]
FresnelMax = 0.7
FresnelC = 0.1
BrightnessAdjustment = 0.9
ClearCoatThickness = 0.3
ColoredSpecular = 0.5
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0

[INCLUDE: common/materials_interior.ini]
[Material_Velvet]
Materials =
BrightnessAdjustment=0.15
OcclusionMap = 0.2


;PBR GLASS
[INCLUDE: common/materials_glass.ini]
[Material_Glass]
Materials = _EXT_Windows
ThicknessMult = 2.0
EXTRA_MASK_PASS = 1.0
EXTRA_MASK_PASS_OPACITY = 0.1
FilmIOR=3.0


[Material_Plastic]
Materials = _EXT_BLACK_WINDOW
Smoothness = 1
Reflectance = 0.3
BrightnessAdjustment = 0.1
DetailScale = 100
OcclusionMult = 1
DetailTexture = plastic_dark.dds



[Material_Glass]
Materials = orangeglass1,_EXT_Glass__Front_light
FilmIOR=2
ThicknessMult = 1
MaskPass = 0.5            ; mask pass opacity
MaskPassColor = 0, 0, 0  ; mask pass color adjustment

--------------------------------------------------------
--                EXTERIOR LIGHT TWEAKS                --
---------------------------------------------------------

[LIGHT_HEADLIGHT_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=1, 1, 0.76, 10
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, -0.2, 1
EXTERIOR_ONLY=0
FADE_AT=450
FADE_FAKE_SHADOW=0
FADE_SMOOTH=50
INTERIOR_ONLY=0
LONG_SPECULAR=1
LOWBEAM_RANGE_MAX=70
LOWBEAM_RANGE_MULT=0.8
LOWBEAM_RANGE_ONCOMING_MULT=0.4
MIRROR=0.65205
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_FADE_MULT=0.3
OFF_MIRROR=0.65205
OFF_MULT=0
OFF_POSITION=0, 0.606965, 1.62997
OFF_RANGE_MULT=0.125
POPUP_EDGE_EXP=0.3
POPUP_EDGE_OFFSET=0.5
POPUP_ENABLED=1
POPUP_END=0.7
POPUP_SECOND_SPOT_EXP=0.6
POPUP_SECOND_SPOT_INITIAL_VALUE=0.4
POPUP_START=0.05
POSITION=0, 0.606965, 1.62997
PREFER_FRONT=-1
RANGE=240
RANGE_GRADIENT_OFFSET=0
SECOND_SPOT=120
SECOND_SPOT_INTENSITY=0.21
SECOND_SPOT_RANGE=16
SECOND_SPOT_SHARPNESS=0.5
SECOND_SPOT_SKIP=0.3
SINGLE_FREQUENCY=0
SPECULAR_MULT=1
SPOT=48
SPOT_EDGE=0.12, 0.12, 0.12
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0
SPOT_UP=0, 1, 0
VOLUMETRIC_LIGHT=1


[LIGHTING]
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=0.0
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_FADE=0.5
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1


[LIGHT_EXTRA_1]    ;interiorLight
BIND_TO_EXTRA_B=1    ; if "1" on/off with "Alt+NUMPAD_8"
COLOR=72,61,139,0.02
DIFFUSE_CONCENTRATION=0
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.1,0.8,-0.01
DIRECTION=0,-10,0
RANGE=1.1
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=1
SPOT=250
SPOT_SHARPNESS=0.5
position=rechts/links, hoch/runter, vorne/hinten



[BRAKEDISC_FX]
ACTIVE = 1            ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0       ; use ceramic look
CARVED = 0	           ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY =0   ; increase to make more lines
GLOW_OFFSET = 0.01	; 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
DEBUG = 0
LUMINOCITY_MASK=0.01, 0.08
REFLECTION_F0=0.01, 0.3
REFLECTION_SHARPNESS=50, 80
DISC_INTERNAL_RADIUS = 0.12
DISC_RADIUS = 0.20 
RIM_HEIGHT = 0.25
WEAR_FORCE=0.5


[TYRES_FX_FRONT]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0

[TYRES_FX_REAR]
COOKTORRANCE_FRESNEL_REFLECTANCE=0.2
COOKTORRANCE_IOR=0.1
COOKTORRANCE_LAMBERT_FACTOR=5
COOKTORRANCE_ROUGHNESS=0.5
DAMAGE_FLAT_SPOT_DEBUG=0
DAMAGE_FLAT_SPOT_FADE=0.1
DAMAGE_FLAT_SPOT_GAIN=10
DAMAGE_GRAIN_DEBUG=0
DAMAGE_GRAIN_GAIN=10
DAMAGE_GRAIN_MAX=0.8
DAMAGE_NORMALS_MULT=2
DAMAGE_OCCLUSION_MULT=0.2
DAMAGE_OFFSET_K=0
DAMAGE_REFL_MULT=0.8
DAMAGE_SPEC_EXP_MULT=0.2
DAMAGE_SPEC_MULT=0.6
DAMAGE_WIDTH_K=1.2
DIRT_ACCUMULATION=1000
DIRT_DIRT_DEBUG=0
DIRT_FADE=100
DIRT_GRASS_DEBUG=0
DIRT_WIDTH_K=1
ENABLED=1
FLEX_MAX_SKEW_MULT=0.8
FLEX_MULT=1
FLEX_PROFILE_MULT=0.45
FLEX_SKEW_RANGE_MULT=3
FLEX_SKEW_SMOOTHING=0.1
FLEX_SQUASH_SMOOTHING=0.1
NOFX_DISTANCE_SWITCH=16
VISIBLE_IN_INTERIOR_CAM=0


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

[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
COLOR=1, 0, 0, 5
DIFFUSE_CONCENTRATION=0.88
DIRECTION=0, 0, -1
EXTERIOR_ONLY=0
FADE_AT=120
FADE_SMOOTH=30
INTERIOR_ONLY=0
MIRROR=0.468203
OFF_COLOR=1, 0.0911936, 0.0265662, 1.05
OFF_FADE_MULT=1.674586
OFF_MIRROR=0.549986
OFF_MULT=0.1
OFF_POSITION=0, 0.54357, -2.56
OFF_RANGE_MULT=0.767561
POSITION=0, 0.547034, -2.43
RANGE=3
RANGE_GRADIENT_OFFSET=0.3
SPECULAR_MULT=1
SPOT=135.5
SPOT_EDGE=0.582, 0.582, 0.582
SPOT_EDGE_SHARPNESS=10
SPOT_SHARPNESS=0.3475


[WIPERS]
WIND_THRESHOLDS_KMH = 60, 250  ; 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             ; base animation progress to vibrate around

[WIPERS_TRACE_...]
SURFACE = pasted__window_part, _window_part005
WIPERS = wiper_rubber, wiper_left_rubber

[INCLUDE_...]
INCLUDE=common/gt3_exhaust_glow.ini
VAR_0=ExhaustPoint, 0.0,0.40,-1.8
VAR_1=ExhaustLightPoint, 0.0,0.40,-2.0
VAR_3=ExhaustMeshes_PerPixel, exhaust 
VAR_7=ExhaustRadiusThicknessInv,0.01
VAR_6=ExhaustRadiusInner, 3
VAR_8=ExhaustAreaScale,80, 85, 80
VAR_9=ExhaustNormalsK, 0.9
VAR_10=ExhaustLightRange,0.2
VAR_2=ExhaustGlowTint, 0.15
VAR_11=ExhaustTemperatureMin, 70
VAR_12=ExhaustTemperatureMax, 100

[PARTICLES_FX_EXHAUST]
COLOR=0.7, 0.75, 0.9, 0.5
GAS_LAG=0.9
GROW=1, 1
INTENSITY=0.05, 0.1
INTENSITY_MULT=1
LIFE=1.6, 2
POSITION_OFFSET=0, 0, 0
SPAWN_OFFSET=0.02, 0.02
SPEED=0.4, 0.8
SPEED_THRESHOLD=5, 20
SPREAD=1, 1
STARTING_SIZE=0.03, 0.03
TEMPERATURE_LAG=0.9995
TEMPERATURE_THRESHOLD=40, 60

[LIGHT_FLAME_0]
BRIGHTNESS_MULT=0.6
CAR_BRIGHTNESS_MULT=1

[Material_CarPaint_Solid]
Materials = _EXT_RIM
FresnelMax = 0.5
FresnelC = 0.12
BrightnessAdjustment = 0.9
ClearCoatThickness = 0.5
ColoredSpecular = 0.5
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0
DetailTexture = EXT_Rim_Colour.dds
DetailScale = 1
OcclusionMult = 1


[Material_CarPaint_Solid]
Materials = _EXT_BLACK_GLOSSY
Metalness=0
Smoothness = 1
Reflectance = 0.5
CubemapReflectionBlur = 0.2
BrightnessAdjustment = 0.6
DetailScale = 80
OcclusionMult = 1
DetailTexture = mat_carbon.dds
FresnelMax = 0.7
FresnelC = 0.1
ClearCoatThickness = 0.
ColoredSpecular = 0.8
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ApplyTilingFix = 0

[LIGHT_FLAME_0]
BRIGHTNESS_MULT=0.6
CAR_BRIGHTNESS_MULT=1

[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= signal_lf_SUB0,signal_lf_SUB1
COLOR=400, 150, 0
OFF_COLOR=0,0,0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= signal_lr_SUB0,signal_lr_SUB1
COLOR=25, 12, 0,8
LAG=0.5
SIMULATE_HEATING=3.0
LOCATION=REAR



[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME= signal_rf_SUB0,signal_rf_SUB1
COLOR=400, 150, 0
PITLINE=1
SPECIAL=1
OFF_COLOR=0,0,0
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= signal_rr_SUB0,signal_rr_SUB1
COLOR=25, 12, 0,8
PITLINE=1
SPECIAL=1
LAG=0.5
SIMULATE_HEATING=3.0
LOCATION=REAR


[LIGHT_TURNSIGNAL_LEFT_0]
COLOR	=	10, 5, 0
AFFECTS_TRACK	=	1
POSITION=0.7,0.367,2.13
DIRECTION	=	0.2, 0, 1
OFF_MULT	=	0.1
RANGE	=	1.535
SPOT	=	90
FADE_AT=100
FADE_SMOOTH=5

[LIGHT_TURNSIGNAL_RIGHT_0]
COLOR	=	10, 5, 0
AFFECTS_TRACK	=	1
POSITION=-0.7,0.367,2.13
DIRECTION	=	-0.2, 0, 1
OFF_MULT	=	0.1
RANGE	=	1.535
SPOT	=	90
FADE_AT=100
FADE_SMOOTH=5



[SHADER_REPLACEMENT_0]
MATERIALS = _lumi_front
SHADER = ksPerPixelMultiMap_emissive
FILL_MISSING_TEXTURES = 1
PROP_... = emSkipDiffuseMap, 1
PROP_... = ksEmissive, 200, 200, 200

[LED_PANEL_0]
MESHES = _LUMI_FRONT      ; target mesh
TEXTURE_SLOT = txEmissive       ; target texture slot
RESOLUTION = 1024, 512          ; resolution of newly generated texture
MASKS_PACK = lumirank_font.zip  ; name of a pack with LED masks
DIGIT_0 = 33, 50, 256, 410      ; X, Y, width and height of a first digit
DIGIT_1 = 386, 50, 256, 410     ; X, Y, width and height of a second digit
DIGIT_2 = 738, 50, 256, 410     ; X, Y, width and height of a third digit
                                ; you can set as many digits as you need
BASE_COLOR = '#1adf00', 0.5    ; base color (when it’s not flashing)
FLASHING_COLOR = '#1eff00', 1  ; color for flashing
FLASHING_APPLY_MASK = 1        ; should mask be applied to flashing

FLASHING_PERIOD = 3.5        ; N24 flashing: period in seconds
FLASHING_TIME = 1.2          ; for how long it would flash in seconds
FLASHING_FREQUENCY = 6       ; flashing frequency in Hz
FLASHING_ACTIVE_SHARE = 0.7  ; how much time during flashing it spends in active stage

ROLE_0 = POSITION     ; first role
ROLE_1 = DRIVER_NAME
ROLE_2 = TEXT
ROLE_2_TEXT = GT4

ROLE_DURATION = 3     ; how much time in seconds each role lasts






 











 




