Skip to content

quantumsheep/glsl-mlog-compiler

Repository files navigation

GLSL to mlog compiler

Transpiles GLSL to mlog.

Example

void main() {
  vec2 st = gl_FragCoord.xy / u_resolution.xy;
  gl_FragColor = vec4(atan(st.y, st.x), sin(st.y), cos(st.x), 1.0);
}

Example 1

How to use

python3 . example.glsl