Changes

Jump to: navigation, search

2D - General information

1,607 bytes added, 12:12, 23 March 2021
no edit summary
In general, Mashinky engine is able to can load many different multiple texture formats(like *.jpg, *.bmp, *.png, *.tga, and some other) which are used for various purposes in the game. Specifically for game assets, it's best to use[https://en.wikipedia.org/wiki/DirectDraw_Surface *.dds] format of textures. DDS stands for DirectDraw Surface, what is native format for DirectX, an industry standard. Vanilla textures curently use DXT3 filtering. The size of textures is of power of two (2^n), so in the line of 128^2, 256^2, 512^2, 1024^2, 2048^2...
* [httpsMashinky vanilla textures are stored in <code>DriveLetter:\SteamAppsPath\Mashinky\media\maps\<//encode>.wikipedia.org There are no materials per se like in other engines/wiki/DirectDraw_Surface *tools though the game works texture sets of sorts.dds] - preferred. DirectDraw SurfaceEach UV set (part of a model on separate texture) uses in fact two textures, it one is native format for DirectX. Industry standardused as a regular color/diffuse texure + alpha and the other, able to store in many different bit formatswith _n suffix, very fast utilizes it's channels for loading, custom mipmaps, etcdifferent purposes.* [httpsFirst of all an example:{| class="wikitable"!colspan="2"|Example A - train engine with one UV set|-|TrEngine.dds|Diffuse texture with color information + alpha if needed|-|TrEngine_n.dds|R,G channels - normal map; B - glossiness map; A - snow/rust mask|} Mentioned maps/enmasks are further described in separate topics in the 2D Art - textures category.wikipedia LOD models usually require its own texture set where for modding purposes, _n texture can be left "blank".org/wiki/BMP_file_format *LOD texture does not have to be very detailed either. It's best put together from renders of the original model and texture.bmp]* [https[File://en.wikipedia.org/wiki/JPEG *diff.jpg|none|200px|thumb|left|Original left, LOD texture right]]* [https'''NOTE 1://en''' Glass texture is placed on a separate texture.wikipediayou can also use glass texture that is already in vanilla.org<br/wiki>'''NOTE 2:''' Animated wheels, like those on steam engines are on a separate texture. <br/Portable_Network_Graphics *.png]>* [https'''NOTE 3://en''' Keep the number of textures and their resolution as low as possible while ratining appropriate quality in order not to clutter the game (i.wikipediae.org/wiki/TIFF *do not use five 4k textures per train car).tiff]* .'''NOTE 4:''' Alpha channel for _n texures should always be set explicitly.If left out, it is taken as non-transparent, therefore 1(255), therefore all snowy/rusted.
Take a look into [[how to setup 2D editor]] to prepare exporter and your 2d editor
[[Category:Modding]]
[[Category:3d models2D Art - textures]]
82
edits

Navigation menu