Skip to content

Instantly share code, notes, and snippets.

@ponnamkarthik
Created February 9, 2023 02:29
Show Gist options
  • Save ponnamkarthik/ffba1aedd46de8cd82dfdd5dd06b2b0b to your computer and use it in GitHub Desktop.
Save ponnamkarthik/ffba1aedd46de8cd82dfdd5dd06b2b0b to your computer and use it in GitHub Desktop.
#include <flutter/runtime_effect.glsl>
uniform vec2 uSize;
uniform float iTime;
vec2 iResolution;
out vec4 fragColor;
#define PI 3.1415926535897932384626433832795
void main(void) {
iResolution = uSize;
vec2 fragCoord = FlutterFragCoord();
// ...
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment