Revision 3e2376c4
Added by Leszek Koltunski over 8 years ago
| src/main/res/raw/feedback_fragment_shader.glsl | ||
|---|---|---|
| 19 | 19 |  | 
| 20 | 20 | precision mediump float; | 
| 21 | 21 |  | 
| 22 | #if __VERSION__ != 100 | |
| 23 | out vec4 fragColor; // The output color | |
| 24 | #define FRAG_COLOR fragColor | |
| 25 | #else | |
| 26 | #define FRAG_COLOR gl_FragColor | |
| 27 | #endif | |
| 22 | out vec4 fragColor; | |
| 28 | 23 |  | 
| 29 | 24 | ////////////////////////////////////////////////////////////////////////////////////////////// | 
| 30 | 25 |  | 
| 31 | 26 | void main() | 
| 32 | 27 |   {
 | 
| 33 |   FRAG_COLOR = vec4(1.0,1.0,1.0,1.0);
 | |
| 28 |   fragColor = vec4(1.0,1.0,1.0,1.0);
 | |
| 34 | 29 | } | 
| src/main/res/raw/feedback_vertex_shader.glsl | ||
|---|---|---|
| 19 | 19 |  | 
| 20 | 20 | precision lowp float; | 
| 21 | 21 |  | 
| 22 | #if __VERSION__ != 100 | |
| 23 | in float inValue; | |
| 24 | out float outValue; | |
| 25 | #else | |
| 26 | attribute float inValue; | |
| 27 | varying float outValue; | |
| 28 | #endif | |
| 22 | in vec3 inValue; | |
| 23 | out vec3 outValue; | |
| 29 | 24 |  | 
| 30 | 25 | ////////////////////////////////////////////////////////////////////////////////////////////// | 
| 31 | 26 |  | 
Also available in: Unified diff
Make the Feedback APP work again.