Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
PartToolsEditor.NormalMapTools Class Reference

Static Public Member Functions

static Texture2D GreyscaleToNormalMap (Texture2D tex, float normalStrength)
 
static Texture2D UnityNormalMapToNormalMap (Texture2D tex)
 

Member Function Documentation

static Texture2D PartToolsEditor.NormalMapTools.GreyscaleToNormalMap ( Texture2D  tex,
float  normalStrength 
)
inlinestatic

< left

< bottom left

< top

< bottom

< top right

< right

< bottom right

< Compute dy using Sobel:

static Texture2D PartToolsEditor.NormalMapTools.UnityNormalMapToNormalMap ( Texture2D  tex)
inlinestatic

The documentation for this class was generated from the following file: