Wiki

Clone wiki

Love2D Light and Shadow Engine / generateNormalMap

Object

Body

Abstract

image.generateNormalMap(strength)

Arguments

  • float strength (default: 1.0)

Return

  • nothing

Description

The normal map will be automatically generated from the image.

(Gives in most cases a bad result. Please use a heightmap or a custom normal map)

Updated