Revision 040cd18c
Added by Leszek Koltunski almost 6 years ago
src/main/res/raw/normal_fragment_shader.glsl | ||
---|---|---|
19 | 19 |
|
20 | 20 |
precision lowp float; |
21 | 21 |
|
22 |
#if __VERSION__ != 100 |
|
23 | 22 |
out vec4 fragColor; |
24 |
#define FRAG_COLOR fragColor |
|
25 |
#else |
|
26 |
#define FRAG_COLOR gl_FragColor |
|
27 |
#endif |
|
28 | 23 |
|
29 | 24 |
////////////////////////////////////////////////////////////////////////////////////////////// |
30 | 25 |
|
31 | 26 |
void main() |
32 | 27 |
{ |
33 |
FRAG_COLOR = vec4(1.0,0.0,0.0,1.0);
|
|
28 |
fragColor = vec4(1.0,0.0,0.0,1.0);
|
|
34 | 29 |
} |
Also available in: Unified diff
Port all the 'non-controversial' changes from order-independent-transparency branch.