Project

General

Profile

« Previous | Next » 

Revision 56c6ca24

Added by Leszek Koltunski almost 6 years ago

OIT: lots of progress on all fronts. Still a few bugs to solve though!

View differences:

src/main/res/raw/blit_vertex_shader.glsl
19 19

  
20 20
precision lowp float;
21 21

  
22
#if __VERSION__ != 100
23 22
in vec2 a_Position;           // Per-vertex position.
24 23
out vec2 v_TexCoordinate;     //
25
#else
26
attribute vec2 a_Position;    // Per-vertex position.
27
varying vec2 v_TexCoordinate; //
28
#endif
29

  
30 24
uniform float u_Depth;        // distance from the near plane to render plane, in clip coords
31 25

  
32 26
//////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff