mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-14 12:29:30 -07:00
Fixing a bug introduced with skipIntro
This commit is contained in:
@@ -38,7 +38,7 @@ float wobble(float x) {
|
||||
|
||||
vec4 computeResult(float simTime, bool isFirstFrame, vec2 glyphPos, vec2 screenPos, vec4 previous) {
|
||||
if (skipIntro) {
|
||||
return vec4(1., 0., 0., 0.);
|
||||
return vec4(2., 0., 0., 0.);
|
||||
}
|
||||
|
||||
float columnTimeOffset;
|
||||
|
||||
@@ -218,7 +218,7 @@ fn getRipple(simTime : f32, screenPos : vec2<f32>) -> f32 {
|
||||
|
||||
fn computeIntro (simTime : f32, isFirstFrame : bool, glyphPos : vec2<f32>, screenPos : vec2<f32>, previous : vec4<f32>) -> vec4<f32> {
|
||||
if (bool(config.skipIntro)) {
|
||||
return vec4<f32>(1.0, 0.0, 0.0, 0.0);
|
||||
return vec4<f32>(2.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
|
||||
var columnTimeOffset = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user