Class: NormalMapRenderer

NormalMapRenderer(options)

 Normal map renderer
   - Renders a normal map from height map texture

Constructor

new NormalMapRenderer(options)

Creates an instance of NormalMapRenderer.
Parameters:
Name Type Description
options NormalMapRendererConfig
Properties:
Name Type Description
heightMap TextureInfo
Source:

Extends

Classes

NormalMapRenderer

Members

clearBeforeRender

Set clear before render
Overrides:
Source:

Methods

destruct()

Destruct class
Overrides:
Source:

render()

Render
Overrides:
Source:

renderToFramebuffer(framebuffer)

Render to framebuffer
Parameters:
Name Type Description
framebuffer Framebuffer
Overrides:
Source:

setSize(width, height)

Set size
Parameters:
Name Type Description
width number
height number
Overrides:
Source: