When it comes to kRGB8888,kRGB4444,kRGB1555 you can get OpenGL to convert them to GL_RGBA for you by doing the following:
Code: Select all
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, FWidth, FHeight, 0, GL_RGBA, Format, FData);
Moderator: OpenUru.org Moderators
Code: Select all
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, FWidth, FHeight, 0, GL_RGBA, Format, FData);
Thanks, i will ask if i get stuck.branan wrote:Don't hesitate to ask me for help if you run in to any roadblocks with your drawing code.
When it comes to "Texture Combiners" i have only ever touched GL_TEXTURE_ENV_MODE. I have used shaders before but i never really got into them (Lack of decent tutorials on the net that i could find. At least ones which work with a GeForce FX). But i do understand how they work and how to code the engine side.... Just lack the knowledge to make any decent shaders.branan wrote:especially if you're more familiar with more modern techniques like shaders.