Log inGet started
Package

weather.package

Newest version

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

README.md

surface_weather

Weathers surfaces in place: wetness darkens and flattens, snow accumulates on what faces up.

Bindings

namekind
scene_colortexture2d
scene_depthtexture_depth
scene_normaltexture2d
frame_cambuffer, read vec4<f32>
lightsbuffer, read vec4<f32>
weather_paramsbuffer, read vec4<f32>
weather_coverbuffer, read f32
weather_outstorage2d (rgba16f)

weather_out holds linear light, which the wet sheen's additive reflections can carry past 1.0 — an 8-bit target would clamp it.