Render texture takes a lot of memory

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dart_theg
Posts: 53
Joined: Sun Dec 29, 2024 3:13 am

Render texture takes a lot of memory

Post by dart_theg »

I use render textures to render icons that I want to keep in memory, and when I save them to file they're mere kilobytes. (2-4) I have about 32 icons. My memory spikes an extra 200mb for some reason. Changing my color format seemingly doesn't help me much. I'm on Irrlicht 1.8.5. Any help?
CuteAlien
Admin
Posts: 9926
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Render texture takes a lot of memory

Post by CuteAlien »

Render textures? You mean render target textures (in which case - why?) or just the usual textures?
Anyway, no immediate idea - it's usually around bytes per pixel times resolution. Anything beyond that I'd need an example to see what's going on.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply