[INCLUDE]
INCLUDE = common/no_popup_lights.ini,  common/custom_emissive.ini


[LIGHTING]
EMISSIVE_HEADLIGHTS_MULT= 1
EMISSIVE_PARKINGLIGHTS_MULT=1
EMISSIVE_BRAKELIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_FADE=0.5
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.05
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1

[SHADER_REPLACEMENT_...]
MATERIALS = plastic2,vaz_2108_plastic_dash2,carbody_in,plastic3
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular,0.02

[SHADER_REPLACEMENT_...]
MATERIALS = SWshine
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular,1.82
FresnelMax = 1
FresnelC = 0.4
BrightnessAdjustment = 0.5
ColoredSpecular = 0.9
AmbientSpecular = 0.5
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.1

[SHADER_REPLACEMENT_...]
MATERIALS = INT_Mat_Steer_Fabric,EXT_MISC,fabric_022_custom_w
PROP_... = ksAmbient, 0.01
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular,0.02

[SHADER_REPLACEMENT_...]
MATERIALS = CAR_tyre,carbody_bottom,frame
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular,0.02

[SHADER_REPLACEMENT_...]
MATERIALS = windscreen_in,windows_in,damage_glass
PROP_... = ksAmbient, 0.4
PROP_... = ksDiffuse, 0.03
PROP_... = ksSpecular,2.82
PROP_... = FresnelMax = 8
; PROP_... = FresnelC = 0.4
; PROP_... = BrightnessAdjustment = 0.5
; PROP_... = ColoredSpecular = 10.9
; PROP_... = AmbientSpecular = 0.5
; PROP_... = AmbientSpecularEXP = 2.5
; PROP_... = ClearCoatThickness = 0.1


[CustomEmissive]
Meshes = rear_parkings
Resolution = 1024, 512 
@ = CustomEmissive_Rect, Channel = 1, Start = "642, 197", Size = "358, 157", CornerRadius = "0.4",0.4 Exponent = 1
@ = ParkingLights, Channel = 1, Intensity = 8, Lag = 0.67

[CustomEmissive]
Meshes = rear_lights
Resolution = 1024, 512
@ = CustomEmissive_Rect, Channel = 0, Start = "263, 35", Size = "198, 296", CornerRadius = "0.75, 0.75", Exponent = 1
@ = ReverseLights, Channel = 0, Intensity = 5

[CustomEmissive]
Meshes = rear_stops
Resolution = 1024, 512
@ = CustomEmissive_Rect, Channel = 2, Start = "22, 16", Size = "220, 325", CornerRadius = "0.75,0.75", Exponent = 1
@ = BrakingLights, Channel = 2, Intensity = 18, Lag = 0.67

[CustomEmissive]
Meshes = rear_turn_lights
Resolution = 1024, 512
@ = CustomEmissive_Rect, Channel = 3, Mirror, Start = "649, 43", Size = "342, 159", CornerRadius = "0.4, 0.4", Exponent = 1
@ = TurningLightsRear, Channel = 4, ChannelAlt = 3, Intensity = 15

[CustomEmissive]
Meshes = front_turn_lights
@ = CustomEmissive_Rect, Channel = 3, Mirror, Start = 0, Size = 0, CornerRadius = "0.2, 0.6", Exponent = 2
@ = TurningLightsFront, Channel = 3, Intensity = 15

[CustomEmissive]
Meshes = head_light
@ = CustomEmissive_Rect, Channel = 0, Start = 0, Size = 0, CornerRadius = 2.5, Exponent = 4.0
@ = Headlights, Channel = 0, Lag = 0.67, Intensity = 28 

[CustomEmissive]
Meshes = rear_lights_5
@ = CustomEmissive_Rect, Channel = 2,Start = 0, Size = 0
@ = CustomEmissive_BounceBack, Channel = 2, Exponent = 2

[INCLUDE: common/materials_license_plate.ini]

[CustomEmissive]
Meshes = rear_number_lights
Resolution = 1024, 512
@ = CustomEmissive_Rect, Channel = 0,Start = "26, 408", Size = "175, 97", CornerRadius = 0.7,0.7
@ = LicensePlateLights, Channel = 0, Lag = 0.45, Intensity = 1.2

[LIGHT_LICENSEPLATE] 
MESHES=rear_number_lights
OFFSET=0.0, 0.0, 0.0
RANGE=0.43
RANGE_GRADIENT_OFFSET=0.25
SPOT=106
SPOT_SHARPNESS=0.01
COLOR=10,10,8,0.6
FALLBACK_EMISSIVE=1,1,1,0.1
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT= AT_SIDES
FADE_AT=9
FADE_SMOOTH=4
ACTIVE=1
AFFECTS_TRACK=1 

[INCLUDE: common/selflighting.ini]

; [INCLUDE: common/gt3_lights.ini]
; InteriorLightColor = 0.5,0.8,2.2,2 ;#ff33ff
; InteriorLightPos = 0.35, 1.20, -0.25

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

[Material_CarPaint_Solid]
CarPaintMaterial = 
Skins = 
FresnelMax = 0.5
FresnelC = 0.08
AmbientSpecular = 0.3
SpecularBase = 0.2, 100

[Material_CarPaint_Matte]
Skins = 
FresnelMax = 1
FresnelC = 0.1
AmbientSpecular = 1.0
AmbientSpecularEXP = 4.0
SpecularBase = 0.3, 5
SpecularSun = 0, 1

[Material_CarPaint_Chameleon]
Skins = 
ChameleonColorA = #288, 0.5
ChameleonColorB = #604, 0.96
ChameleonExponent = 1.6
ChameleonCenter = 1.5

[Material_CarPaint_RainbowChrome]
Skins = 
ChromeRainbowFlip = 1    ; flip rainbow
ChromeRainbowNegate = 1 ; negate rainbow
ChromeRainbowFocus = 1   ; compactness of rainbow spread
ChromeRainbowMult = 1    ; multiplier for final effect

; Disabling chameleon effect by default
ChameleonColorA = #768, 0.6
ChameleonColorB = #804, 0.6
ChameleonExponent = 0.5
ChameleonCenter = 0.5

; Localized effects: change value to 1 to apply effects only where txDiffuse alpha is black (same as txDetail), set to INVERT to apply only where txDiffuse is white
UseDiffuseAlphaAsRainbowMask = 0  ; for rainbow effect

[Material_CarPaint_Metallic]
Skins = 
UseMetallicReflections = 1
FresnelMax = 1
FresnelC = 1
FlakesK = 13
ClearCoatThickness = 0.2
ColoredSpecular = 0.8
AmbientSpecular = 0.5
BrightnessAdjustment = 0.1

[Material_CarPaint_Chrome]
CarPaintMaterial = metal,chrome,engine
Skins = 
FresnelMax = 1
FresnelC = 0.4
BrightnessAdjustment = 0.5
ColoredSpecular = 2.9
AmbientSpecular = 0.5
AmbientSpecularEXP = 0.5
ClearCoatThickness = 1.1

[Material_CarPaint_Pearl]
CarPaintMaterial = EXT_Rim
Skins = 
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 0.9 ; compensates for ambient specular
PearlescentSpecular = 1.0
AmbientSpecular = 2.0
AmbientSpecularEXP = 3.0
ClearCoatThickness = 0.09
SpecularBase = 1, 50

[Material_CarPaint_Old]
Skins = 
NormalsNoise = 0.01
NormalsNoiseUV = 80
FresnelMax = 0.4
FresnelC = 0.04
AmbientSpecular = 1
SpecularBase = 0.4, 40
SpecularSun = 0.5, 1000

[PARTICLES_FX_EXHAUST_...]
POSITION = -0.33, 0.24, -2.03 ;self explanatory
DIRECTION = 0,0,-1  ; self explanatory
COLOR = 0.05,0.05,0.051 			; RGB blend - 0,0,0 is black, 1,1,1 is white
GROW = 1, 2
LIFE = 0.6, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 5.3 				; how fast smoke particles fly from the exhaust
SPREAD = 0.21				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.020			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.78			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears
GAS_LAG = 0.8
