Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. gBackgroundPos += 0.0003f; // gBackgroundPos climbs indefinitely...
  2. GLfloat bgCoords[] = { gBackgroundPos, 1.0,
  3. gBackgroundPos + 0.5f, 1.0,
  4. gBackgroundPos, 0.0,
  5. gBackgroundPos + 0.5f, 0.0 };
  6.  
  7. glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
  8. glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement