Created
August 5, 2015 01:23
-
-
Save eodabash/28a01d147cbc496d14ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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