mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
12 lines
171 B
Text
12 lines
171 B
Text
|
struct SurfaceOutput {
|
||
|
vec4 color;
|
||
|
};
|
||
|
void surf(inout SurfaceOutput o) {
|
||
|
o.color = vec4(1);
|
||
|
}
|
||
|
void main() {
|
||
|
SurfaceOutput o;
|
||
|
surf(o);
|
||
|
gl_FragColor = o.color;
|
||
|
}
|