This commit is contained in:
2025-02-07 17:04:43 -06:00
parent 33fd7ddf72
commit 8eec81c7f4
2249 changed files with 75331 additions and 685 deletions

View File

@@ -0,0 +1,16 @@
uniform sampler2D g_Texture0;
varying vec3 g_ScreenPosition;
void main() {
vec2 texCoords = g_ScreenPosition.xy / g_ScreenPosition.z;
texCoords = texCoords * vec2(0.5, -0.5) + 0.5;
vec4 sample = texSample2D(g_Texture0, texCoords);
float lightness = dot(sample.rgb, vec3(0.3, 0.59, 0.11));
float color = step(lightness, 0.5);
gl_FragColor = vec4(vec3(1, 1, 1) * color, 1.0);
}