Replace texture dynamically

Game Engine, Players & Web Plug-in, Virtual Reality, support for other engines

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Sun Feb 10, 2013 4:59 pm

Replace texture dynamically

Post by lolb » Sun Feb 10, 2013 5:28 pm


I want to use the script given at " ... xture.html" to replace textures dynamically. The problem is that it works fine for a single object. But when you want to use several at once, such as replacing the texture of a plane, then replace the texture of another plane with another texture, it does not work! There is the last named is taken into account? I think it is because the command "logic.texture.refresh" which does not work that at the end of the script?

Do you have a solution please?

Thank you

Post Reply