Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commita2fece03a2

README.md

cloud_shadow_map

The share of the cloud layer's shadow map a render refreshes: one line of every block of the map (cloud_shadow_slice at the step of the refresh cloud_shadow_recall states, and cloud_shadow_block, in cloud_shadow_space), marched across the layer toward the sun for the view being drawn (cloud_shadow_march). It runs after cloud_shadow_carry has carried the rest of the map over from the view's previous render and writes over the lines it marches. One thread per block, so every thread of a workgroup marches and the pass costs the share of the map it refreshes. It counts the lines it marches in the map's counter.

Includes

  • @builtin::shaderModules.frame_light
  • cloud_shadow_march

Bindings

namekind
shapetexture3d
detailtexture3d
weathertexture3d
noise_smpsampler
Ubuffer
frame_cambuffer
scene_lightbuffer
cloud_shadowbuffer
recalledbuffer
cloud_shadow_countbuffer (atomic<u32>)
shadow_outstorage2d (rgba16f)