mediumResponse.module
This package holds more than this page lists. See all of its files in its world.
README.md
mediumResponse
The light response a medium is drawn with. VolumetricSky, Volume,
VolumeSequence, Smoke, Fire and ParticipatingMedium each name one in
lightResponse (a .shaderModule) with its numbers in lightResponseParams;
left empty, the medium takes the engine's own light
(shaders.medium_physical). shaders.medium_light states what a response is
handed and the three functions it defines.
program(shader, response): the program a marcher draws with, the shader itself or the one in which the response stands inmedium_physical's place.params(list): the sixteen numbers a response is handed.status(): each marcher and response asked for, the program it draws with and where it stands; a response that names no module or fails to compile readsfailedwith the reason, and its medium draws the engine's own light.