A texture in HeroEngine is a straightforward graphic file, which can be as simple as a picture of a polygon, or as complex as multiple images woven into a quilt which are only used one piece at a time. Textures are almost always associated with some other element, such as terrain, assets, characters, GUI panels, particle effects, etc.
Texture file format
Textures are always ".dds" file format and must be in the size of power of two, such as 512x512. They are generally created with something such as Paint.NET and saved in .dds file format, or Adobe Photoshop; in which the image is saved as a .dds file format using the Nvidia Photoshop plug-in.
- NOTE - various texture applications may require different naming conventions.
For additional information on TerrainMap textures, please refer to 'Diffuse Textures' (indicated by a _d suffixed naming convention) and 'Bump+Spec Textures (indicated by a _n suffixed naming convention).
To import a texture into HeroEngine:
- Create the texture in the graphics program of your choice (Photoshop, PaintShop, etc.)
- Save the texture into the hierarchy already defined for your own game (subfolders for assets, characters, particles, or however you have it set up)
- Be sure to name the file with a .DDS extension
- Import the file into the Repository Browser
- Open the Repository Browser
- Login to the appropriate world that will be receiving the file
- The top half of the Repository Browser will show your local computer or network
- The lower half will show the mirrored directory in the HeroEngine world
- In the upper half of the screen, navigate to the location on your local hard drive or network that contains the .dds file
- Drag the file from the upper half of the screen to the same folder on the lower half (creating new folders as necessary)
- Once copied, the texture should be instantly available in HeroEngine, either for adding to a terrain, particle effect, asset, GUI panel, etc., or it will instantly update whichever objects already used that texture.
A texture to be wrapped around a 3D model of a Sunok in green armor. See Creating Characters
A texture of a zombie's head. See Creating Characters
_cleanenginegui.dds, used for GUI Controls
GUI control textures, as seen in the texture viewer. See GUI Editor