12 lines
171 B
Plaintext
12 lines
171 B
Plaintext
struct SurfaceOutput {
|
|
vec4 color;
|
|
};
|
|
void surf(inout SurfaceOutput o) {
|
|
o.color = vec4(1);
|
|
}
|
|
void main() {
|
|
SurfaceOutput o;
|
|
surf(o);
|
|
gl_FragColor = o.color;
|
|
}
|