Added Audio module
Fixed examples resources not being commited Temporary removed static build configurations
This commit is contained in:
10
examples/bin/shaders/basic.frag
Normal file
10
examples/bin/shaders/basic.frag
Normal file
@@ -0,0 +1,10 @@
|
||||
#version 110
|
||||
|
||||
varying vec2 TexCoord;
|
||||
|
||||
uniform sampler2D texture;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(texture, TexCoord);
|
||||
}
|
||||
14
examples/bin/shaders/basic.vert
Normal file
14
examples/bin/shaders/basic.vert
Normal file
@@ -0,0 +1,14 @@
|
||||
#version 110
|
||||
|
||||
attribute vec3 Position;
|
||||
attribute vec2 TexCoord0;
|
||||
|
||||
uniform mat4 WorldViewProjMatrix;
|
||||
|
||||
varying vec2 TexCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = WorldViewProjMatrix * vec4(Position, 1.0);
|
||||
TexCoord = TexCoord0;
|
||||
}
|
||||
Reference in New Issue
Block a user