Skip to main content

scrim_channel

Function scrim_channel 

pub fn scrim_channel(value: u8, strength: f32, hue: u8) -> u8
Expand description

What fill_scrim does to one 8-bit channel behind it, given that channel of the scrim hue: the same tone and level stages, for a host that composites a scrim on the CPU (a cached frame) instead of through the shader.