Just popping in
Joined: 2015/7/17 2:32 Last Login
: 5/23 13:21
From Sydney
Group:
Registered Users
|
Having a couple of issues with rendering to a texture.
When rendering to a texture, back face culling doesn't work properly, it always culls the front face. I can get around that at least by just disabling it.
Also I can't seem to change textures when rendering into a texture. I have a scene with a few textures and a VBO for each, but it just uses the first texture for the whole scene. It works fine when rendering to the screen.
And does glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR) do anything? It seems to use linear filter instead.
|