taht wont work, because I use .c files, not wdl. But I found out something else...
I used this:
my.material = mat_shaded;
mat_shaded should be default material of the level blocks.
The first problem was, that it didnt work, when the model was created by exporting from WED. I had to reskin it in MED, than it worked.
But the blocks are still a little bit different. Is it because of lighting engine? I use just static lights, no sun, no ambient.