Skip to content

Commit a839aac

Browse files
authored
Merge pull request #114 from pythonindia/feedback
Feedback
2 parents fb31a29 + 14f5c04 commit a839aac

17 files changed

+1331
-2
lines changed

eventsapp/data/glsl/default.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$HEADER$
2+
void main (void){
3+
gl_FragColor = frag_color * texture2D(texture0, tex_coord0);
4+
}

eventsapp/data/glsl/default.png

224 Bytes
Loading

eventsapp/data/glsl/default.vs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$HEADER$
2+
void main (void) {
3+
frag_color = color * vec4(1.0, 1.0, 1.0, opacity);
4+
tex_coord0 = vTexCoords0;
5+
gl_Position = projection_mat * modelview_mat * vec4(vPosition.xy, 0.0, 1.0);
6+
}

eventsapp/data/glsl/header.fs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#ifdef GL_ES
2+
precision highp float;
3+
#endif
4+
5+
/* Outputs from the vertex shader */
6+
varying vec4 frag_color;
7+
varying vec2 tex_coord0;
8+
9+
/* uniform texture samplers */
10+
uniform sampler2D texture0;
11+
12+
uniform mat4 frag_modelview_mat;

eventsapp/data/glsl/header.vs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#ifdef GL_ES
2+
precision highp float;
3+
#endif
4+
5+
/* Outputs to the fragment shader */
6+
varying vec4 frag_color;
7+
varying vec2 tex_coord0;
8+
9+
/* vertex attributes */
10+
attribute vec2 vPosition;
11+
attribute vec2 vTexCoords0;
12+
13+
/* uniform variables */
14+
uniform mat4 modelview_mat;
15+
uniform mat4 projection_mat;
16+
uniform vec4 color;
17+
uniform float opacity;

eventsapp/data/icon.png

-131 KB
Loading

eventsapp/data/kivy-icon-128.png

3.15 KB
Loading

eventsapp/data/kivy-icon-16.png

420 Bytes
Loading

eventsapp/data/kivy-icon-24.png

614 Bytes
Loading

eventsapp/data/kivy-icon-256.png

7.26 KB
Loading

0 commit comments

Comments
 (0)