I decided to totally rewrite shade-c 0.91 object shaders to be really compatible with 3dgs material settings (specular did not work at all), and to work fine with dynamic lights. finally, everything is okay now: map entities, models, vertex animated trees, and multitextured terrains with or without lightmap. terrain got a simple per pixel lighting option because vertex based dynamic lights can look very ugly (but slightly slower). they are my first own made shaders only the shadowmapping calculations are kept (but corrected too):