2008-05-20, 22:51
show a background in Vortex.
Is it possible to set any picture as background?
Is it possible to set any picture as background?
Texture texture;
void Init()
{
texture.LoadTexture("mypicture.jpg");
}
void Render()
{
gfxSetTexture(texture);
gfxTranslate(0, 0, 2.414);
gfxSetAspect(0);
gfxTexRect(-1, 1, 1, -1);
}