Saturday, November 10, 2012

GLSL to AGAL Convertor tool

Great thx to Tom Krcha annoucing glsl2agal library with which I was able to reward my laziness to convert GLSL code to AGAL and play with it. 

In most GLSL programs you would find on net would contain just main function so you should declare variables
uniform vec2 resolution;
uniform float time;
uniform sampler2D tex0;

This link would help you with variables types.

No comments:

Post a Comment