News:

SMF - Just Installed!

Main Menu

Custom Textures

Started by Pier Luigi Monari, November 04, 2022, 03:30:38 PM

Previous topic - Next topic

Pier Luigi Monari

hello, I have a small problem with custom textures:
if i change the textures of a static object, I see them correctly inside editor, but if I save the machine and reload it, the textures are gone.
the file name, in the "TextureName" field is displayed correctly.
the texture file is in C:\Nirtec\Machines Simulator 3\ms3bin_Data\StreamingAssets\MyTextures
i tried with PNG and JPG file created with paint

any suggestion?



EasyPLC_Master

Hi Luigi!
This bug is corrected in version 3.14.2, please request your update at easyplc@nirtec.com

idtech

Tengo el mismo problema, he añadido dos imagenes a la direccion C:\Nirtec\Machines Simulator 3\ms3bin_Data\StreamingAssets\MyTextures, una jpg y otra png, y las dos se ven negras aplicando la textura.

EasyPLC_Master

El tamaño de las texturas debe de ser múltiplo de 4 por temas de optimización, en caso contrario no se visualizan correctamente.
Por ejemplo 256, 512, 1024, etc...

The size of the textures must be a multiple of 4 for optimization reasons, otherwise they will not be displayed correctly.
For example 256, 512, 1024, etc...