Project

General

Profile

« Previous | Next » 

Revision f05b1df0

Added by Leszek Koltunski almost 6 years ago

  • ID f05b1df05f10bec5d3618e1ecac3fbadaef41a10
  • Parent 344ac0e4

Adjustments for the 'Flag' app.

View differences:

src/main/res/raw/oit_render_fragment_shader.glsl
67 67
    const float S= 2147483647.0;
68 68
    gl_FragDepth = 1.0 - 2.0*float(u_Records[curr+1u])/S;
69 69
    vec4 color   = convert(u_Records[curr+2u]);
70
    curr = u_Records[curr];
70 71

  
71 72
    while (curr != 0u)
72 73
      {
73
      curr = u_Records[curr];
74 74
      color = blend( color , convert(u_Records[curr+2u]) );
75
      curr = u_Records[curr];
75 76
      }
76 77

  
77 78
    fragColor = color;

Also available in: Unified diff