Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.38

1,951 bytes added, 15:08, 8 July 2020
Skybox
== Skybox ==
merging up Lots of significant changes have been made to the underlying workings of the skybox system.<br>Most importantly, we can now blend between both sun profiles and weathers at once (so 4 textures (minor change layers in algorithmtotal), this means that weather transitions may now be triggered automatically at any moment, including in the middle of a sun profile transition. ==== Materials: ==== Each part of the skybox model is now being handled by a dedicated material.<br>As a result, the following effects have been removed old material:* eut2.sky.rfx* eut2.sky.over.rfx And replaced by:* '''eut2.sky.rfx''' - used on the ''clouds'' part (hi-res clouds ring)* '''eut2.sky.stars.rfx''' - used on the ''stars'' part* '''eut2.sky.back.rfx''' - used on the ''back'' part (low-res clouds background) These need to be correctly set in the materials of the skybox model itself. ==== Climate definitions: ==== Previously, stars and clouds shared the same texture.It is now possible to separate the two via the <code>stars_texture</code> attribute, which now exists in place of the obsoleted <code>skycloud_part</code> attribute. If <code>stars_texture</code> matches <code>skycloud_texture</code>, the engine expects that the texture contains both stars and clouds, and everything should appear to behave as it used to.<br>If <code>stars_texture</code> is different, '''then stars are rendered using this texture and the engine treats <code>skycloud_texture</code> as if it doesn't contain stars at all'''.<br>If <code>stars_texture</code> is <code>"null"</code>, stars are not rendered. A newly-added <code>stars_opacity</code> attribute accessible via the weather editor controls opacity of the stars layer. Your existing climate definitions should still work. If the engine encounters a <code>skycloud_part</code> definition, TBDa warning is displayed and the remaining attributes filled in accordingly.<br>However, you should still update your climate definitions to the current format, which can be done by simply loading up your climate definition in the weather editor and saving it.
== Game data ==
507
edits

Navigation menu