Creates a new NormalHeightMapMethod method.
The texture containing the height data. 0 means low, 1 means high.
The width of the 'world'. This is used to map uv coordinates' u component to scene dimensions.
The height of the 'world'. This is used to map the height map values to scene dimensions.
The depth of the 'world'. This is used to map uv coordinates' v component to scene dimensions.
adapter is used to provide MovieClip to scripts taken from different platforms setter typically managed by factory. getter defaults to AwayJS class
A unique id for the asset, used to identify assets in an associative array
The original name used for this asset in the resource (e.g. file) in which
it was found. This may not be the same as name
, which may
have changed due to of a name conflict.
A texture to modulate the direction of the surface for each texel (normal map). The default normal method expects tangent-space normal maps, but others could expect object-space maps.
A texture to modulate the direction of the surface for each texel (normal map). The default normal method expects tangent-space normal maps, but others could expect object-space maps.
Add an event listener
Dispatch an event
check if an object has an event listener assigned to it
Marks the shader program as invalid, so it will be recompiled before the next render.
Remove an event listener
Generated using TypeDoc
NormalHeightMapMethod provides a normal map method that uses a height map to calculate the normals.