SpatialMaterial.normalTexture

Texture used to specify the normal at a given pixel. The normal_texture only uses the red and green channels. The normal read from normal_texture is oriented around the surface normal provided by the Mesh. Note: Godot expects the normal map to use X+, Y-, and Z+ coordinates. See url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinatesthis page/url for a comparison of normal map coordinates expected by popular engines.

  1. Texture normalTexture [@property getter]
    struct SpatialMaterial
    @nogc nothrow @property
    normalTexture
    ()
  2. Texture normalTexture [@property setter]

Meta