Hello,
how can I disable a texture in a material? Is this possible? Is the order I add the textures to the Terrain important in any way?
Thanks.
Regards,
Equi
There is no built in way of removing a texture. Why don’t you change the material?
Hello,
for me this is totally unlogical. Take blender. You add a material to a geometry. You add three textures to the material. Now, you do not want to have one of the textures because you want to see the effect of only two textures? Would you change the material in blender? No, you only click on a combobox right next to the texture you want to disable and in the next render pass it is not used anymore.
Thanks.
Regards,
Equi
That doesn’t make more sense.
In your example you are in design mode, you make a mistake, and you want to correct it.
In JME design mode is coding, if you attach by mistake a texture to a material, you just have to remove the line of code where you attached it.
I understand that you want to remove a texture at run time, and when I tell you to change the material, i’m not claiming it’s logical, I’m just saying it’s the only way of doing it in JME3 right now.
It could be a feature to add, but removing a texture from a material at runtime may have a lot of implications, it’s not just a map.remove operation.