Class NormalMapImageLoader
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
-
objectNormalMapImageLoader
- Derived
Methods
Initialize(MapTextureManager, bool)
public void Initialize(MapTextureManager textures, bool enableLogging = true)
Parameters
texturesMapTextureManagerenableLoggingbool
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
mapDirectorystring