HeightMap2NormalMap
Functions
- rgbaArray2RGB(source) ⇒
Float32Array
- heightMap2NormalMap(renderer, sampler) ⇒
Sampler2D
rgbaArray2RGB(source) ⇒ Float32Array
Kind: global function
Param | Type |
---|---|
source | Array.<number> | Uint8Array |
heightMap2NormalMap(renderer, sampler) ⇒ Sampler2D
Kind: global function
Param | Type |
---|---|
renderer | WebGLRenderer |
sampler | Sampler2D |