Project

General

Profile

« Previous | Next » 

Revision 79921db2

Added by Leszek Koltunski about 7 years ago

Some progress with Transform Feedback. Still many bugs all over.

View differences:

src/main/res/raw/main_vertex_shader.glsl
554 554
    j+=3;
555 555
    }
556 556
#endif
557
   
557

  
558
  v_Normal        = normalize(vec3(u_MVMatrix*vec4(n,0.0)));
558 559
  v_Position      = v;
559 560
  v_TexCoordinate = a_TexCoordinate;
560
  v_Normal        = normalize(vec3(u_MVMatrix*vec4(n,0.0)));
561 561
  gl_Position     = u_MVPMatrix*vec4(v,1.0);
562 562
  }                               

Also available in: Unified diff