Skip to main content

bake_octahedral_depth_map

Constants

DEPTH_SHARPNESS : number

Weights of rays that are aligned with the probe direction get exponentially weighted by this exponent

ray_hit : Array.<number>

Functions

bake_octahedral_depth_map(result, result_offset, scene, position, position_offset, resolution, max_depth, [sub_sample_count])

DEPTH_SHARPNESS : number

Weights of rays that are aligned with the probe direction get exponentially weighted by this exponent

Kind: global constant

ray_hit : Array.<number>

Kind: global constant

bake_octahedral_depth_map(result, result_offset, scene, position, position_offset, resolution, max_depth, [sub_sample_count])

Kind: global function

ParamType
resultArray.<number>
result_offsetnumber
scenePathTracedScene
positionArray.<number> | Vector3
position_offsetnumber
resolutionnumber
max_depthnumber
[sub_sample_count]number