Table of Contents

Enum NormalMapProperties.NormalEncoding

Namespace
Gamelogic.Fx.Mapping.Maps
Assembly
Gamelogic.Fx.dll

Specifies how normals are encoded into the map texture's color channels.

public enum NormalMapProperties.NormalEncoding

Fields

Hemispherical = 1

The same as Spherical encoding, but normals are flipped if they point away from the vector (0,0,1).

Spherical = 0

Normals are encoded to a color using the formula

(normal + (1,1,1)) / 2