18 years, 2 months ago
Highlights
Community contributions featuredI think that the texture does not show up because You set texture coordinates for the GL_TEXTURE1, while the shader uses tex coords for GL_TEXTURE0.
18 years, 2 months ago
19 years, 8 months ago
1.The computed angle is in radians. I am sorry but I dont know what is expected by SDL_rotozoom.float dx = x - centerX;float dy = y - centerY;float angle = atan2(dy,dx);2. I ass…
19 years, 8 months ago
19 years, 9 months ago
I see two possible problems.1. Surface format. before sending surface->pixels to gluBuildMipmaps convert surface to 32 bpp format.2. gluBuildMipmaps. This function has been m…
19 years, 9 months ago
Latest Activity
See all in DiscussionsI think that the texture does not show up because You set texture coordinates for the GL_TEXTURE1, while the shader …
18 years, 2 months ago
1.The computed angle is in radians. I am sorry but I dont know what is expected by SDL_rotozoom.float dx = …
19 years, 8 months ago
I see two possible problems.1. Surface format. before sending surface->pixels to gluBuildMipmaps convert surface to 32 bpp format.2. gluBuildMipmaps. This …
19 years, 9 months ago