mirror of
https://github.com/IllusionMan1212/android-native-example-odin.git
synced 2026-10-24 10:12:33 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//
|
||||
|
||||
precision mediump float;
|
||||
varying vec3 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = vec4(color, 1.0);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
//
|
||||
|
||||
attribute vec2 vPosition;
|
||||
attribute vec3 vColor;
|
||||
varying vec3 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = vColor;
|
||||
gl_Position = vec4(vPosition, 0.0, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user