HeightSampler2NormalSamplerSoft
convertHeightMap2NormalMap(heightSampler) ⇒ Sampler2D
Uses sobel filter to compute normals for a given height map
Kind: global function
Param | Type |
---|---|
heightSampler | Sampler2D |
Sampler2D
Uses sobel filter to compute normals for a given height map
Kind: global function
Param | Type |
---|---|
heightSampler | Sampler2D |