diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-08-21 21:45:38 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-08-21 21:45:38 -0400 |
| commit | 8bbef6b1f8fe61ae8b0f24693af28b7fa6e68237 (patch) | |
| tree | eaddcd8a1f6f735dc6ea2fe3380e5fe1c90754e6 /assets/shaders/texture.frag | |
| parent | 77d547596c23d5878fee417d3aa0a3bf38037e65 (diff) | |
pke: embed shaders in executable
Diffstat (limited to 'assets/shaders/texture.frag')
| -rw-r--r-- | assets/shaders/texture.frag | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/assets/shaders/texture.frag b/assets/shaders/texture.frag deleted file mode 100644 index 9859bb6..0000000 --- a/assets/shaders/texture.frag +++ /dev/null @@ -1,20 +0,0 @@ -# version 450 - -layout(location = 0) in vec4 fragColor; -layout(location = 1) in vec3 fragTexCoord; - -layout(location = 0) out vec4 outColor; - -layout(binding = 1) uniform sampler2D texSampler; - -void main() { - vec4 color = texture(texSampler, fragTexCoord.xy); -/* - if (color.w == 0) { - discard; - } -*/ - outColor = color; - // outColor = vec4(0.0, 0.8, 0.0, 1.0); - // outColor = vec4(fragTexCoord.xyz, 1.0); -} |
