I usually use EntityColor 128,128,128 for all my entities since this gives a better response to hardware lighting.
Now I've added two meshes to a CreateMesh() then deleted the originals and it displays ok, but the new mesh looks full bright.
I've tried:
brush = CreateBrush()
BrushColor brush,128,128,128
PaintMesh mesh,brush
and also
LightMesh mesh,128,128,128
and also
EntityFX mesh,2
and of course
UpdateNormals mesh
- all to no avail.
It's probably very simple. What am I missing?
Now I've added two meshes to a CreateMesh() then deleted the originals and it displays ok, but the new mesh looks full bright.
I've tried:
brush = CreateBrush()
BrushColor brush,128,128,128
PaintMesh mesh,brush
and also
LightMesh mesh,128,128,128
and also
EntityFX mesh,2
and of course
UpdateNormals mesh
- all to no avail.
It's probably very simple. What am I missing?