Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commita2fece03a2

README.md

cloud_shadow_apply

For every pixel with a surface under it, the share of the scene's sun the cloud layer takes on the way from the sun to that surface (1 - cloud_shadow_transmittance), written for the composite that lays it into the sun occlusion channel (@scene.sunOcclusion) with the union blend. Sky pixels take none.

Includes

  • @builtin::shaderModules.frame_light
  • cloud_shadow

Bindings

namekind
scene_depthtexture_depth
frame_cambuffer
scene_lightbuffer
cloud_shadow_maptexture2d
cloud_shadow_smpsampler
cloud_shadowbuffer
occlusion_outstorage2d (rgba8)