Log inGet started
Package

cloud_shadow_apply.computeShader

Newest version

This package holds more than this page lists. See all of its files in its world.

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)