Wiki

Clone wiki

Love2D Light and Shadow Engine / setHeightMap

Object

Image

Abstract

image.setHeightMap(image, strength)

Arguments

  • love.image image
  • float strength

Return

  • nothing

Description

Set the height map of the object. The normal map will be automatically generated with the given strength.

Updated