Texture

From Virtual Paradise Wiki
(Redirected from Normalmap)
Jump to navigation Jump to search
Texture
Version required Unknown


The texture, normalmap and specularmap commands apply a texture map of the specified type to an object.

Usage

   texture | normalmap | specularmap url [tag=] [mask=]

texture: Color texture.

normalmap: Tangent space normal map texture. This is a bump mapping rendering technique. Must be used with a texture intended for this purpose for correct results.

specularmap: Specular map texture, the brightness of the texture determines the brightness of the specular reflection. A normal map must be applied for this to be effective.

Arguments

url
The name of a texture in the /textures folder on the world's object path, or a URL on a remote server.
tag
Applies the texture to a tagged(RWX)/named(OBJ, MD5Mesh) part of the model
mask
mask texture name (alpha map). This must be the name of a mask file from the object path.

Examples

create texture stone1
stone1.jpg from the object path is applied to the entire object
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb