Tagged Questions
0
votes
1answer
102 views
SDL_Image and typical SDL BMP loading fails completely
been messing with OpenGL and SDL for a pair of weeks.
The thing is quite weird. I have been loading a texture from a BMP and using a really easy shader to make it work, and so far it has worked very ...
1
vote
3answers
168 views
SDL_image & OpenGL Problem
i've been following tutorials online to load textures using SDL and display them on a opengl quad. but ive been getting weird results that no one else on the internet seems to be getting...
so when i ...
2
votes
2answers
290 views
Can't get simple OpenGL texture working using SDL2 and FreeImage3
I created a simple OpenGL program that display a quad with texture, but it doesn't seem to be working as it only displays a white quad. What could possibly be wrong? I checked everything I could think ...
0
votes
1answer
399 views
Generate texture for a heightmap
I've recently been trying to blend multiple textures based on the height at different points in a heightmap. However i've been getting poor results. I decided to backtrack and just attempt to recreate ...
2
votes
3answers
855 views
OpenGL & SDL textures… game shuts down
I'm going to create a game in C++ with SDL & openGL but adding textures won't work.
the code is in some different classes.
here's the main file
...
0
votes
1answer
481 views
What's wrong my code to create a GL texture from an SDL_Surface?
I have an issue here with converting an existing SDL_Surface into an OpenGL texture.
The texture gets created, but it's a plain white texture, below is a screenshot of the result:
It seems to me ...