Log inGet started
Package

ies_distribution.computeShader

Newest version

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

README.md

ies_distribution

Rasterizes a luminaire's vertical candela distribution into a square cookie a spot light projects through its cone: the radius of a texel is the angle from the axis, and its brightness the candela the file states at that angle, interpolated between the two measured angles either side.

Bindings

namekind
ies_curvebuffer (read, vec4<f32>): a header row (sample_count, cone_half_angle_deg, resolution, 0), then one (normalized candela, vertical angle in degrees, 0, 0) row per sample
ies_texelsbuffer (read_write, vec2<u32>): one rgba16f texel per entry, the layout compute.copyBufferToTexture reads for that format