Project

General

Profile

« Previous | Next » 

Revision 985ea9c5

Added by Leszek Koltunski over 7 years ago

Finally fix the 'when rendering though an FBO, the other side of triangles is visible'

View differences:

src/main/java/org/distorted/library/DistortedBitmapGrid.java
68 68
     position[3*vertex+2] = 0;
69 69

  
70 70
     texture[2*vertex  ]  = x;
71
     texture[2*vertex+1]  = y;
71
     texture[2*vertex+1]  = 1.0f-y;
72 72

  
73 73
     normal[3*vertex  ]   = 0.0f;
74 74
     normal[3*vertex+1]   = 0.0f;

Also available in: Unified diff