Skip to main content

modulate

Function modulate 

Source
pub fn modulate(color: V3, rgb: [f32; 4]) -> V3
Expand description

color (display values) times the texel rgb (display values), multiplied in linear light: the textured base colour the viewer’s shader computes the same way.