Class: JPG_HEIGHTMAP

JPG_HEIGHTMAP

JPG_HEIGHTMAP imports an 8-bit per channel image and smooths it out to serve as a height map. Otherwise, the limited 8 bit precision would result in a stair-case effect. Yields a Texture2D object.


new JPG_HEIGHTMAP()

Author:
  • derschmale <http://www.derschmale.com>

Extends

  • Importer