///ABOUT///
Config created by Euro, v1.0



///MISC///

[INCLUDE]
INCLUDE=common/conditions.ini, common/materials_track.ini, common/grass_fx.ini

[SHADER_REPLACEMENT_1]
MATERIALS=TREES TSUBAKI LINE 
LOD_IN=0
LOD_OUT=150

[PARTICLES_FX]
FIREWORKS_POS_1 = 851.97, 86.98, -630.94
FIREWORKS_POS_2 = 387.09, -250.25, -26.53

[CREW]
HIDE_IN_TRACK_DAY_MODE=1 
HIDE_IN_SINGLE_PRACTICE_SESSION=1


///CONDITIONS///

[CONDITION_1]
NAME=BLINK
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=1.5
FLASHING_SMOOTHNESS=3
FLASHING_SKIP_OFF_STATE=1
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1
FLASHING_LUT=(|0=0|1=1)

[CONDITION_2]
NAME=BLINKFAST
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=1.5
FLASHING_SMOOTHNESS=3
FLASHING_SKIP_OFF_STATE=1
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1
FLASHING_LUT=(|0=1|1=0)


///GRASS AND RAIN///

[GRASS_FX]
GRASS_MATERIALS= GRASS, ROAD GRASS EDGE, GRASS EDGE
GRASS_MESHES= 
ORIGINAL_GRASS_MATERIALS= BUSHES ROADSIDE
ORIGINAL_GRASS_MESHES=
OCCLUDING_MATERIALS= CURBS, ROAD, WALLS, SIGNS GRAVEYARD, RAILS, GRAVEL
OCCLUDING_MESHES= 
TEXTURE = Tsubaki_grass.dds
TEXTURE_GRID = 8, 3


[GRASS_FX_CONFIGURATION_A]
SHAPE_SIZE = 5
SHAPE_TIDY = 0
SHAPE_WIDTH = 1.0
MASK_MAIN_THRESHOLD = 0.5  ; how saturated (with green) should the surface be (not real saturation, could be more than 1)
MASK_RED_THRESHOLD = 0  ; offsets target color from green to yellow and red, if set high enough
MASK_MIN_LUMINANCE = 0  ; minimum luminance to spawn grass on
MASK_MAX_LUMINANCE = 0.1
MASK_BLUR = 1


[GRASS_FX_ADJUSTMENT_1]
MATERIALS = GRASS, ROAD GRASS EDGE, GRASS EDGE
MAP= A
 

[RAIN_FX]
PUDDLES_MATERIALS = ROAD, ROAD GRAVEL EDGE, DRAINS, ROAD GRASS EDGE, ROAD MARKINGS, GUTTERS, GRAVEL, ROAD SIDE EXTRA, TSUBAKIDAI, ROAD SIDE, TSUBAKIDAI BUILDING PARKING, GRAVEL EDGE, CURBS
SOAKING_MATERIALS = ROAD, ROAD GRAVEL EDGE, DRAINS, ROAD GRASS EDGE, ROAD MARKINGS, GUTTERS, CURBS, GRASS EDGE, GRASS, WALLS, GRAVEL, ROAD SIDE EXTRA, TSUBAKIDAI, ROAD SIDE, TSUBAKIDAI BUILDING PARKING, CURBS EXTRA, MIRRORS, SIGNS, REFLECTORS, REFLECTORS LARGE, GRAVEL EDGE, SIGNS SIGNALS,REFLECTORS LARGE POST  
SMOOTH_MATERIALS = MIRRORS, SIGNS, REFLECTORS, REFLECTORS LARGE, SIGNS SIGNALS
ROUGH_MATERIALS = GRASS EDGE, GRASS, WALLS, SIGNS GRAVEYARD, FENCING POST, BUSHES A, BUSHES B, BUSHES EXTRA, BUSHES ROADSIDE, MOUNTAINS, TREES FLAT DISTANT, TREES TSUBAKI LINE, TREES FLAT FRONT, TREES FLAT REAR, TREES FLAT DISTANT DETAIL, TREES FLAT DETAIL, POWERLINES TOWERS, POWERLINES 


///LIGHTING///

[LIGHTING]
BOUNCED_LIGHT_MULT=1,1,1,1
CAR_LIGHTS_LIT_MULT=1.0
ENABLE_TREES_LIGHTING=1
LIT_MULT=1
SPECULAR_MULT=1

[BOUNCED_LIGHT]
SUPPORTED = 1 
DEPTH_EXPANSION_STEPS= 1  
SURFACE_MATERIALS = CURBS, DRAINS, GUTTERS, ROAD, ROAD GRASS EDGE, ROAD GRAVEL EDGE, ROAD MARKINGS, ROAD SIDE, ROAD SIDE EXTRA, TSUBAKIDAI
OBJECT_MATERIALS = SIGNS, SIGNS BLUE, SIGNS NEON, SIGNS SIGNALS, RAILS, RAILS SMALL, RAILS BRIDGES
SPOT_MATERIALS = GRASS, BUSHES, BUSHES A, BUSHES B, BUSHES EXTRA, BUSHES ROADSIDE, GRASS EDGE

[SMOOTH_NORMALS_1]
MATERIALS = ROAD, ROAD SIDE, ROAD SIDE EXTRA, MOUNTAINS, GRASS, MIRRORS, TSUBAKIDAI, GRAVEL, BARRELS
PRECISION = 0.0001
NORMAL_CONTRIBUTION = 0

[MATERIAL_ADJUSTMENT_1]
ACTIVE=1
DESCRIPTION=Reflectors
MATERIALS=REFLECTORS, REFLECTORS LARGE
KEY_0=extBounceBack
VALUE_0=1
CONDITION=ALWAYS_ON

[MATERIAL_ADJUSTMENT_2]
ACTIVE=1
DESCRIPTION=Signs and low reflection
MATERIALS=SIGNS, SIGNS BLUE, SIGNS NEON, SIGNS SIGNALS
KEY_0=extBounceBack
VALUE_0=0.1
CONDITION=ALWAYS_ON


[SHADER_REPLACEMENT_2]
MATERIALS = TREES TSUBAKI LINE, BUSHES, BUSHES A, BUSHES B, BUSHES DETAIL, TREES FLAT FRONT,TREES FLAT REAR, TREES FLAT DISTANT DETAIL, BUSHES ROADSIDE, TREES FLAT DISTANT
DOUBLE_FACE_SHADOW_BIASED = 1


[SHADER_REPLACEMENT_3]
MATERIALS = TREES TSUBAKI LINE, BUSHES, BUSHES A, BUSHES B, BUSHES EXTRA, TREES FLAT FRONT, TREES FLAT REAR, TREES FLAT DISTANT DETAIL, BUSHES ROADSIDE, TREES FLAT DISTANT
SHADER = ksTree_ppshadows


///ARCADE STAGE GATE LIGHT SOURCE///

[MATERIAL_ADJUSTMENT_3]
DESCRIPTION=Gate Spotlights
ACTIVE=1
KEY_0 = ksEmissive
VALUE_0 = 253,245,230, 0.01
VALUE_0_OFF = 0,0,0
MATERIALS= START GATE LIGHTS FRONT, START GATE LIGHTS BACK, FINISH GATE LIGHTS FRONT, FINISH GATE LIGHTS BACK
CONDITION =NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_4]
DESCRIPTION = CP Blinking Lights
ACTIVE = 1
KEY_0 = ksEmissive
VALUE_0 = 25.3,24.5,23.0, 0.2
VALUE_0_OFF = 0,0,0
MATERIALS = CHECKPOINT 3 LIGHTS OUTER, CHECKPOINT 2 LIGHTS OUTER, CHECKPOINT 1 LIGHTS INNER
CONDITION = BLINK

[MATERIAL_ADJUSTMENT_5]
DESCRIPTION = CP Blinking Lights
ACTIVE = 1
KEY_0 = ksEmissive
VALUE_0 = 25.3,24.5,23.0, 0.2
VALUE_0_OFF = 0,0,0
MATERIALS =CHECKPOINT 3 LIGHTS INNER, CHECKPOINT 2 LIGHTS INNER, CHECKPOINT 1 LIGHTS OUTER
CONDITION = BLINKFAST

[MATERIAL_ADJUSTMENT_6]
DESCRIPTION=Checkpoint Sign Lights
ACTIVE=1
KEY_0 = ksEmissive
VALUE_0 = 253,245,230, 0.05
VALUE_0_OFF = 0,0,0
MATERIALS=CHECKPOINT 2 LIGHTS TOP BACK,CHECKPOINT 2 LIGHTS TOP FRONT,CHECKPOINT 1 LIGHTS TOP BACK,CHECKPOINT 1 LIGHTS TOP FRONT,CHECKPOINT 3 LIGHTS TOP FRONT,CHECKPOINT 3 LIGHTS TOP BACK, CHECKPOINT 1 LIGHTS SIDE, CHECKPOINT 2 LIGHTS SIDE, CHECKPOINT 3 LIGHTS SIDE
CONDITION =NIGHT_SMOOTH



///ARCADE STAGE GATE LIGHT CAST///

[LIGHT_SERIES_1]
DESCRIPTION = Start/Finish Gate Lights
ACTIVE = 1
MATERIALS = START GATE LIGHTS FRONT, START GATE LIGHTS BACK, FINISH GATE LIGHTS FRONT, FINISH GATE LIGHTS BACK
COLOR=253,245,230, 0.2
DIFFUSE_CONCENTRATION=1
DIRECTION = 0,1,0
OFFSET = 0,-0.05,0
RANGE =2.5
SPOT = 180
SPOT_SHARPNESS = 0.0
RANGE_GRADIENT_OFFSET=0
SINGLE_FREQUENCY=0
CLUSTER_THRESHOLD = 0
FADE_AT = 500
FADE_SMOOTH=200.0
CONDITION = NIGHT_SMOOTH

[LIGHT_SERIES_2]
DESCRIPTION = Checkpoint Gate Lights Front
ACTIVE = 1
MATERIALS = CHECKPOINT 1 LIGHTS TOP FRONT, CHECKPOINT 2 LIGHTS TOP FRONT, CHECKPOINT 3 LIGHTS TOP FRONT
COLOR=253,245,230, 0.8
DIFFUSE_CONCENTRATION=1
DIRECTION = 0,-1,0
OFFSET = 0,0,0
RANGE =2.6
SPOT = 180
SPOT_SHARPNESS = 0.0
RANGE_GRADIENT_OFFSET=0
SINGLE_FREQUENCY=0
CLUSTER_THRESHOLD = 2
FADE_AT = 500
FADE_SMOOTH=200.0
CONDITION = NIGHT_SMOOTH

[LIGHT_SERIES_3]
DESCRIPTION = Checkpoint Gate Lights Back
ACTIVE = 1
MATERIALS = CHECKPOINT 1 LIGHTS TOP BACK, CHECKPOINT 2 LIGHTS TOP BACK, CHECKPOINT 3 LIGHTS TOP BACK
COLOR=253,245,230, 0.8
DIFFUSE_CONCENTRATION=1
DIRECTION = 0,-1,0
OFFSET = 0,0,0
RANGE =2.6
SPOT = 180
SPOT_SHARPNESS = 0.0
RANGE_GRADIENT_OFFSET=0
SINGLE_FREQUENCY=0
CLUSTER_THRESHOLD = 2
FADE_AT = 500
FADE_SMOOTH=200.0
CONDITION = NIGHT_SMOOTH


///FLASHERS///

[MATERIAL_ADJUSTMENT_16]
DESCRIPTION = Flasher Up
ACTIVE = 1
KEY_0=ksEmissive
VALUE_0=255, 200, 3, 1
VALUE_0_OFF=0, 0, 0
SINGLE_FREQUENCY=0.7
MESHES= SignsSignalsLightsTop,
CONDITION = BLINK

[MATERIAL_ADJUSTMENT_17]
DESCRIPTION = Flasher Down
ACTIVE = 1
KEY_0=ksEmissive
VALUE_0=255, 200, 3, 1
VALUE_0_OFF=0, 0, 0
SINGLE_FREQUENCY=0.7
MESHES= SignsSignalsLightsBottom
CONDITION = BLINKFAST


[LIGHT_1]
COLOR=25.5, 20.0, 3, 0.7
DIFFUSE_CONCENTRATION=1.000
DIRECTION=-0.298532,-0.162045,0.940543
FADE_AT=500.0
FADE_SMOOTH=200.0
POSITION=766.662720,-163.330826,-137.117813
RANGE=2
RANGE_GRADIENT_OFFSET=0.100
SHADOWS=1
SHADOWS_BOOST=0.000000
SHADOWS_EXP_FACTOR=10.000000
SHADOWS_EXTRA_BLUR=0
SHADOWS_HALF_RESOLUTION=0
SINGLE_FREQUENCY=0.000
SPECULAR_MULT=1.00
SPOT=140
SPOT_SHARPNESS=0.500
VOLUMETRIC_LIGHT=0
CONDITION= BLINK


[LIGHT_2]
COLOR=25.5, 20.0, 3, 0.7
DIFFUSE_CONCENTRATION=1.000
DIRECTION=-0.298532,-0.162045,0.940543
FADE_AT=500.0
FADE_SMOOTH=200.0
POSITION=766.662720,-163.758255,-137.117813
RANGE=2
RANGE_GRADIENT_OFFSET=0.100
SHADOWS=1
SHADOWS_BOOST=0.000000
SHADOWS_EXP_FACTOR=10.000000
SHADOWS_EXTRA_BLUR=0
SHADOWS_HALF_RESOLUTION=0
SINGLE_FREQUENCY=0.000
SPECULAR_MULT=1.00
SPOT=140
SPOT_SHARPNESS=0.500
VOLUMETRIC_LIGHT=0
CONDITION= BLINKFAST


[LIGHT_3]
COLOR=25.5, 20.0, 3, 0.7
DIFFUSE_CONCENTRATION=1.000
DIRECTION=0.986395,-0.162045,0.027719
FADE_AT=500.0
FADE_SMOOTH=200.0
POSITION=777.807129,-161.821869,-144.943634
RANGE=2
RANGE_GRADIENT_OFFSET=0.100
SHADOWS=1
SHADOWS_BOOST=0.000000
SHADOWS_EXP_FACTOR=10.000000
SHADOWS_EXTRA_BLUR=0
SHADOWS_HALF_RESOLUTION=0
SINGLE_FREQUENCY=0.000
SPECULAR_MULT=1.00
SPOT=140
SPOT_SHARPNESS=0.500
VOLUMETRIC_LIGHT=0
CONDITION= BLINK

[LIGHT_4]
COLOR=25.5, 20.0, 3, 0.7
DIFFUSE_CONCENTRATION=1.000
DIRECTION=0.986395,-0.162045,0.027719
FADE_AT=500.0
FADE_SMOOTH=200.0
POSITION=777.799622,-162.228485,-144.942780
RANGE=2
RANGE_GRADIENT_OFFSET=0.100
SHADOWS=1
SHADOWS_BOOST=0.000000
SHADOWS_EXP_FACTOR=10.000000
SHADOWS_EXTRA_BLUR=0
SHADOWS_HALF_RESOLUTION=0
SINGLE_FREQUENCY=0.000
SPECULAR_MULT=1.00
SPOT=140
SPOT_SHARPNESS=0.500
VOLUMETRIC_LIGHT=0
CONDITION= BLINKFAST







