ajskdlhjaksdgiuaheuighgaxscgfasdgfasdfgs

This commit is contained in:
neon443 committed 2025-08-27 11:50:16 +01:00
1 parent 62debc38fb
commit 7fb3ad93fb
2 files changed
+7 -17

No files matched your search

+4 -4
View File
@@ -22,15 +22,15 @@ using namespace metal;
//scanlines
half scanline = 0.5 + 0.5 * sin(uv.y * 1250.0);
// scanline *= 0.5;
scanline *= 0.5;
half3 newColor = scanwave*scanline;
half alpha = 1 - scanline;
alpha *= 1;
// half alpha = 1 - scanline;
// half alpha = 0.5;
// half4 output = half4(layer.sample(pos).xyz*newCol, 1);
half4 output = half4(color.xyz*newColor*alpha, alpha);
half4 output = half4(color.xyz*newColor, 1);
return output;
}
+3 -13
View File
@@ -24,23 +24,13 @@ struct ShellView: View {
ZStack {
TerminalController(handler: handler, hostsManager: hostsManager)
.colorMultiply(Color(red: 0.95, green: 1, blue: 0.95, opacity: 1))
.colorMultiply(.white)
// .visualEffect { content, proxy in
// content
// .layerEffect(
// ShaderLibrary.crt(
// .float2(proxy.size),
// .float(time)
// ),
// maxSampleOffset: .zero
// )
// }
// .colorMultiply(Color(red: 0.95, green: 1, blue: 0.95, opacity: 1))
// .colorMultiply(.white)
.overlay {
if hostsManager.settings.filter == .crt {
CRTView()
.opacity(0.75)
.blendMode(.overlay)
// .blendMode(.overlay)
.allowsHitTesting(false)
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.