save code

This commit is contained in:
xsl
2025-09-15 22:03:51 +08:00
parent 8e1c574122
commit bf8a14f549
4 changed files with 40 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#version 450
layout(binding = 0) uniform sampler2D backgroundTexture; // Binding 0
layout(location = 0) in vec2 inUV;
layout(location = 0) out vec4 outColor;
void main() {
//outColor = texture(backgroundTexture, inUV);
outColor = vec4(1.0, 0.0, 0.0, 1.0); // 输出红色
}