When I use "ent_getmesh(NULL, 0, 0)" the engine crashes, but in the manual it says I can use this to get the mesh of the level genometry.

Also, shaders don't work on level genometry, only on models... why!?