mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-21 23:39:29 -07:00
More tweaks to the volumetric mode debug view.
This commit is contained in:
@@ -425,6 +425,9 @@ fn getSymbolUV(glyphCycle : f32) -> vec2<f32> {
|
||||
|
||||
if (bool(config.showComputationTexture)) {
|
||||
output.color = vec4<f32>(glyph.r - alpha, glyph.g * alpha, glyph.a - alpha, 1.0);
|
||||
if (volumetric) {
|
||||
output.color.g = output.color.g * 0.9 + 0.1;
|
||||
}
|
||||
} else {
|
||||
output.color = vec4<f32>(input.channel * brightness * alpha, 1.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user