Skip to content

Instantly share code, notes, and snippets.

@eodabash
Created August 5, 2015 01:23
Show Gist options
  • Save eodabash/28a01d147cbc496d14ad to your computer and use it in GitHub Desktop.
Save eodabash/28a01d147cbc496d14ad to your computer and use it in GitHub Desktop.
#version 300 es
precision mediump float;
struct MyStruct
{
vec4 v1;
vec4 v2;
};
uniform MyStruct s1;
void main()
{
gl_Position = vec4(s1.v1.xyz, 1.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment