NormalMap2AOMap
normalMap2OcclusionMap(renderer, heightMap, normalMap, resultSize, worldSize, [rayLength]) ⇒ Sampler2D
Kind: global function
Param | Type | Default |
---|---|---|
renderer | WebGLRenderer | |
heightMap | Sampler2D | |
normalMap | Sampler2D | |
resultSize | Vector2 | |
worldSize | ||
[rayLength] | number | 17 |