I have some walls in a 3D world and I would like to
dynamically put a color on such walls. I mean, I do not want to put
any texture of a single color, but to be able, by script, to put it
How can I do it?
I don't fully understand your question. What do you mean with
"I don't want to use a texture"? that you don't want to create one
in your 3D app?
Supposing this, what you can do is create a texture from a
one color pic, and the shader on the fly in lingo and then set the
shaderlist of the model to this shader, the code below should give
you an example.
Edit: in the code, I forgot to erase the picture as you don't
need it any more