; config was prepared automatically. source:
; https://github.com/ac-custom-shaders-patch/acc-extension-config/blob/master/config/cars/mods/mazda_rx7_easy_final_spec.ini
[INCLUDE]
INCLUDE=common/no_popup_lights.ini

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1
ENGINE_EXT_BOOST = 1  ; for exterior engine sound, “boost” input, same as in turbo event
ENGINE_INT_BOOST = 1  ; for interior engine sound, “boost” input, same as in turbo event

[AUDIO_VOLUME]
ENGINE_EXT = 1.5
ENGINE_INT = 1.1
GEAR_EXT = 1.3
GEAR_INT = 1.3
BODYWORK = 1.3
WIND = 0.2
DIRT = 0.6
DOWN_SHIFT = 0.3
HORN = 1.3
GEAR_GRIND = 1.3
BACKFIRE_EXT = 1.3
BACKFIRE_INT = 1.3
TRACTION_CONTROL_EXT = 0.3
TRACTION_CONTROL_INT = 0.3
TRANSMISSION = 1.3
LIMITER = 1.3
TURBO = 3.2

HIT = 0.5
SCRAPE = 0.5
WHEEL = 0.5
SKID_EXT = 0.5
SKID_INT = 0.5

[BASIC]
BOUNDING_SPHERE_RADIUS=3
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
EXTERIOR_RANGE_FROM=1
EXTERIOR_RANGE_TO=1.1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.1
LIGHT_DAMAGE_SPEED_MAX=90
LIGHT_DAMAGE_SPEED_MIN=40
TURNING_LIGHTS_REPEAT=1

[Material_PhotoelasticGlass]
Meshes = 
ExteriorGlassHeadlightsMaterials = rlights_glass,flights_glass,tlights_emmissive
PhotoelasticityBaseScale = 4      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.04  ; 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
Refraction = 1

[BOUNCED_BRAKE_LIGHTS]
ACTIVE=1

[LIGHT_HEADLIGHT_0]
RANGE=100

[ODOMETER_MAIN]
DIGITAL_ITEM=0
DIGITAL_ITEM_NUMBER_FORMAT=06.
UPPER_BOUND=999999

[ODOMETER_TRIP]
DIGITAL_ITEM=1

; custom emissive stuff
[INCLUDE: common/custom_emissive.ini]

[CustomEmissive]
Meshes=Turn_glass
@=CustomEmissive_Color, Channel=3, Mirror, Color="1, 0.5, 0", Threshold="0.8, 5"
@=TurningLightsFront, Channel = 3, Intensity = 1

[CustomEmissive]
Meshes=GEO_EXT_LIGHT_REAR_INDICATOR
@=CustomEmissive_Color, Channel=3, Mirror, Color="1, 0.5, 0", Threshold="0.1, 100"
@ = TurningLightsRear, Channel = 3, Intensity = 10

[CustomEmissive]
Meshes=GEO_INT_DECALS_AT
Resolution=1024, 1024
MirrorOffset=-0.5
@=CustomEmissive_Rect, Channel=2, Start="370, 793", Size="90, 75"
@=CustomEmissive_Rect, Channel=3, Mirror, Start="752, 510", Size="60, 47"
@=DashIndicator, Channel=2, Input=HAZARD, Intensity=0.5
@=DashTurningLights, Channel=3

[CustomEmissive]
Meshes=GEO_EXT_LIGHTS_REARBUMPER
@=CustomEmissive_Color, Channel=1, Color="1, 1, 1"
@=ReverseLights, Channel=1

[INCLUDE: common/materials_license_plate.ini]
[Material_LicensePlate_Japan]

[LIGHT_LICENSEPLATE]
MESHES=RearPlate
OFFSET=-0.03, 0.026, -0.05
RANGE=0.4
RANGE_GRADIENT_OFFSET=0.3
SPOT=140
SPOT_SHARPNESS=0.3
COLOR=1,1,1,3.5
FALLBACK_EMISSIVE=1,1,1,0.9
LAYOUT=TWO_ON_TOP

[EMISSIVE_LIGHT_0]
NAME=Box001_light
BIND_AS=LICENSE_PLATE
COLOR=5,5,4.5
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
[LIGHT_TURNSIGNAL_LEFT_0]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_LEFT_1]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=90
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_RIGHT_0]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=-0.42, -1.2, 1
OFF_MULT=0.1
RANGE=0.85
SPOT=10
SPOT_SHARPNESS=0.550.55

[LIGHT_TURNSIGNAL_RIGHT_1]
AFFECTS_TRACK=1
COLOR=12, 5, 0, 1.2
DIRECTION=-0.3, -1.2, -2.5
OFF_MULT=0.1
RANGE=1.2
SPOT=100
SPOT_SHARPNESS=0.550.55

[EMISSIVE_TURNSIGNAL_LEFT_0]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=150,70,0
LAG=0.50.5
LOCATION=FRONT
NAME=blinker_fl
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_LEFT_1]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=150,50,0
LAG=0.50.5
LOCATION=REAR
NAME=blinker_lr
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=150,70,0
LAG=0.50.5
LOCATION=FRONT
NAME=blinker_fr
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0

[EMISSIVE_TURNSIGNAL_RIGHT_1]
ACT_AS_HEADLIGHTS=0
BIND_AS=
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.50.5
COLOR=150,50,0
LAG=0.50.5
LOCATION=REAR
NAME=blinker_rr
OFF_COLOR=0
REPEAT_FREQENCY_HZ=2.782.78
SIMULATE_HEATING=0.00.0


 Car paint
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = paint
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]

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

bientSpecular = 1.5
ColoredSpecular = 0.9
AmbientSpecularEXP = 3.5
BrightnessAdjustment = 0.8

[Material_Aluminium_v2]
Materials = exhaust

[Material_Carbon]
Materials = carbon
BrightnessAdjustment = 0.4
ClearCoatF0 = 0.25
DetailScale = 650

[Material_Glass]
Materials = EXT_GLASS
FilmIOR = 3.5

[Material_Metal_v2]
Materials = rp03
Metalness = 0.7
Reflectance = 0.3
Brightness = 0.3
DetailNormalPBRSmoothnessGamma = 1
LocalReflectionsSharpness = 1
