Change textures in-game/during runtime from HDD


Here is an example with some comments explaining how to load new textures on an object while running the game engine. Good for LOD or just to reuse a building during runtime with other looks(textures)

A few years ago someone shared the base code with me, not sure who it was thought it was sdfgeoff. Anyway i adapted it and thought to share it with everyone. Why share it now? because people asking it more often and others say that it isn’t possible, so to proof them wrong here it is:

change texture during (1.4 MB)

1 Like

Using multiple textures on a atlas, and modulo we can repeat / tile textures without using UV

This is more effective for batching reasons,
I believe one could use videotexture and plot and do this to manage a megatexture