Log inGet started
Package

cloud_shadow_filter.computeShader

Newest version

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

README.md

cloud_shadow_filter

The cloud layer's shadow map as the passes reading it sample it: the lines the view being drawn wrote, drawn smooth between them at twice their density. Each texel is the cubic B-spline through the four by four lines around it, taken as four bilinear reads. The share of the sun crossing the cloud bends smoothly from one line to the next, so a cloud's shadow fades over a line or so at its edge rather than following the map's grid, and the bilinear read a reader makes of this map runs between texels half a line apart.

Bindings

namekind
map_intexture2d
map_smpsampler
shadow_outstorage2d (rgba16f)