Mojo graphics image loadbump
mojo:mojo.graphics.Image.LoadBump
Function LoadBump:Image( diffuse:String,normal:String,specular:String,specularScale:Float=1,flipNormalY:Bool=true,shader:Shader=Null,textureFlags:TextureFlags=TextureFlags.FilterMipmap )#
Loads a bump image from file(s).
diffuse
, normal
and specular
are filepaths of the diffuse, normal and specular image files respectively.
specular
can be null, in which case specularScale
is used for the specular component. Otherwise, specularScale
is used to modulate the red component of the specular texture.