```glsl #version 300 es // version 300 code #define varying in #define texture2d texture // Example shader code using the defined macros precision mediump float; varying vec4 vColor; uniform sampler2D uTexture; out vec4 fragColor; void main() { fragColor = texture(uTexture, vColor.xy) * vColor; } ``` [2024-12-14 17:34:20 | AI写代码神器 | 111点数解答]