Project

General

Profile

« Previous | Next » 

Revision f80337b5

Added by Leszek Koltunski about 7 years ago

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

This reverts commit 79921db22e4ff5a3b2e6e3466a39445f5607a695.

View differences:

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

  
558
  v_Normal        = normalize(vec3(u_MVMatrix*vec4(n,0.0)));
557
   
559 558
  v_Position      = v;
560 559
  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