Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.40

202 bytes added, 15:43, 15 February 2021
Weather
Sun profile has few new attributes. Attribute '''stability''' defines chance of locking sky index for following sun profile (0.0 = completely random, 1.0 = sky index stays if possible).
Few color attributes have been changed from array to float3 values with names. They all had '''_hdr_coef''' postfix in names. List of new names : '''ambient''', '''diffuse''', '''specular''', '''sky_color''', '''sun_color''', '''fog_color''', '''fog_color2'''. Also '''sunshaft_strength''' is changed to '''sunshaft_color''' in same way. Attributes have same meaning as former ones.
osolete attributes'''min_scale'' and '''max_scale''' do not contain '''target_gray''' anymore, they are just multipliers. Attribute '''eye_adaptation_speed''' is was split to '''dark_adaptation_speed''' and '''bright_adaptation_speed'''for interpolated adaptation speed. SIMPLE_ATTR_UINT_ARRAY(bloom_resizing_steps, NULL), SIMPLE_ATTR_UINT_ARRAY(bloom_filter_radiusBloom has been remade. Before it was handled after tonemaping, NULL), SIMPLE_ATTR_FLOAT3_ARRAYwith minimal_color mapped to 0 and half_intesity_color mapped to 0.5. Now its supressed below bloom_treshold and applied before tonemapping. Some older values are thus obsolete (bloom_minimal_color, NULL)radius, SIMPLE_ATTR_FLOAT3_ARRAY(bloom_half_intensity_colorresizing_steps, NULL)minimal_color, SIMPLE_ATTR_FLOAT3_ARRAY(scene_multiplierhalf_intensity, NULL)multipliers, SIMPLE_ATTR_FLOAT3_ARRAY(bloom_multiplier, NULL), SIMPLE_ATTR_FLOAT_ARRAY(target_white, NULL), SIMPLE_ATTR_FLOAT_ARRAY(sunshaft_strength, NULL),.
The game can convert most of those attributes on its side for now but this support will be removed in future.
507
edits

Navigation menu