hello,
below is some morning code to replace an image used by an image texture node:
image_load_0.1.zip (141.9 KB)
upBGE 0.36.1 - hit P then switch using the 1 key.
it uses bpy and not video.texture
a long long time I was used to play with the video.texture module, and custom material in GL and to load an image in game then use it in a material slot.
I was wondering how, and if its still relevant,
to use video.texture for object materials using shader nodes,
if you still can code a custom GL shader for an object material,
what is the ‘modern’ way to do that, how do you do that ?
would be great to share some snippets, hope this is not a duplicate, the last post I found is 8 years old.