BooBoo caches textures

For example if you load the same image twice, the second time it uses the same texture. Same with sprites. So if you run image_update and updates some pixels of one of the images, they all change. There are several ways to get around it, if you want separate images you can _update individually. You can use image_read_texture then image_to_texture to create a new texture. Or image_create then draw the image to the render target.

Comments

One response to “BooBoo caches textures”

  1. tremblin Avatar
    tremblin

    Also, loaded images with image_load have no FBOs, you can’t render into them, you need to use image_create or image_to_texture if you want an FBO.

Leave a Reply to tremblin Cancel reply

Your email address will not be published. Required fields are marked *