19 years, 5 months ago
Highlights
glEnable(GL_DEPTH_TEST) is solve...
19 years, 5 months ago
19 years, 5 months ago
void Init() { glGenTextures(1, &tex;); glBindTexture(GL_TEXTURE_2D, tex); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TE…
19 years, 5 months ago
19 years, 5 months ago
Latest Activity
See all in DiscussionsglEnable(GL_DEPTH_TEST) is solve...
19 years, 5 months ago
Try that. Nothing has changed.
19 years, 5 months ago
Added in Init():glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_COMPAR
19 years, 5 months ago