regenerateMipMapLevels on RenderTargetTexture

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!

regenerateMipMapLevels on RenderTargetTexture

Postby henko » Sun Oct 02, 2011 12:12 am

Hey!

I'm making a texture atlas by using a render target to render each texture tile into a big texture.
I just couldn't find any way to generate mipmaps on the resulting render target texture.
How should I generate mipmaps for it? Should I copy the texture data into an other texture first or is there an easier way?

Thanks,
Henko
henko
 
Posts: 6
Joined: Mon Sep 19, 2011 3:08 pm

Re: regenerateMipMapLevels on RenderTargetTexture

Postby hybrid » Sun Oct 02, 2011 1:55 pm

So far, there's no way to enable mipmaps for RTTs. You have to copy the content to a normal texture first.
hybrid
Admin
 
Posts: 13970
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany


Return to Advanced Help

Who is online

Users browsing this forum: No registered users and 0 guests