mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/Zos.git
synced 2026-06-16 22:16:08 +00:00
36 lines
289 B
GLSL
36 lines
289 B
GLSL
precision mediump float;
|
|
|
|
#define GLSLIFY 1
|
|
|
|
struct Thing {
|
|
|
|
float b;
|
|
|
|
|
|
float c;
|
|
|
|
}
|
|
|
|
|
|
|
|
;
|
|
|
|
vec4 someFunction (
|
|
|
|
vec2 b,
|
|
vec2 c, vec3 d
|
|
) {
|
|
return vec4( d , c.y );
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void main(
|
|
|
|
) {
|
|
gl_FragColor = someFunction ( vec2(0), vec2(1), vec3(2) );
|
|
}
|