Skip to content

Files

Latest commit

 

History

History
16 lines (14 loc) · 361 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 361 Bytes

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