Function _IrrMakeNormalMapTexture

au3Irr2

au3Irr2 Function Reference

_IrrMakeNormalMapTexture

Create a normal map from a gray-scale height map texture.

#Include <au3Irrlicht2.au3>
_IrrMakeNormalMapTexture($h_Texture, $f_Amplitude)

 

Parameters

$h_Texture Handle of an device dependend irrlicht texture object
$f_Amplitude

 

Return Value

Success: True
Failure: False and @error 1

 

Remarks

Normal maps are used to add a high level of surface lighting detail to what are normally low resolution models.
They can have a massive effect on the realism of an object, the model you create will have to be created in "tangent" space to support this.

 

Related

[todo: functionName, functionName]