Remove texture

Blitz3D Forums/Blitz3D Beginners Area/Remove texture

Mikorians(Posted 2014) [#1]
It seems that this works for removing the texture from a mesh:

a=somemeshwithatexturemap
Br=GetEntityBrush(a)
TmpTxt=CreateTexture(0,0); <--- Key part
BrushTexture Br,TmpTxt,0,0
PaintMesh a,Br
FreeBrush Br
FreeTexture TmpTxt

Surface brushes worked also. There is no GetMeshBrush, so...
Surface refers to the mesh MatID components directly since PaintMesh
would be its counterpart...?

Is this risky or good? Am I right?