Is there any hardware accelerated ways to modify the textures realtime ? My current solution is to create a bufferedImage and use setImage method to update textures in VRAM but it’s quite slow and looks goofy. Even if i used BYREFERENCE it takes much time to update a texture , anybody have any ideas how to do it in faster and smater ways, Thanks.! ??? ??? ;D
You should probably be asking this question on the Java2D forum. Using OpenGL, the fastest way to update a texture is using glTexSubImage2D once your texture has been created with glTexImage2D.