Table of Contents

Class NormalMapImageLoader

Namespace
Map.Loading.Images
Assembly
MapAssembly.dll

Loads world_normal.png (or world_normal.bmp) and populates the normal map texture. Uses ImageParser for unified BMP/PNG support with PNG preferred. Normal map format: RGB(128,128,255) = flat surface (up direction)

public class NormalMapImageLoader
Inheritance
object
NormalMapImageLoader
Derived

Methods

Initialize(MapTextureManager, bool)

public void Initialize(MapTextureManager textures, bool enableLogging = true)

Parameters

textures MapTextureManager
enableLogging bool

LoadAndPopulate(string)

Load normal map image and populate normal map texture. Tries world_normal.png first, falls back to world_normal.bmp.

public void LoadAndPopulate(string mapDirectory)

Parameters

mapDirectory string