Please don´t blame me for the placeholder textures.

Together with Ventilators mesh.dll (hint: 10,- Euro)
this shader is able to display a lightmap with texture subsets and specular/normalmaps + 4 dynamic lights.


Colour + Normalmap Model:



Lightmap Model:



Final Result:



You can adjust the specular through the alphachannel of the normalmap.
This example has no specular maps applied.

Download:
http://www.vulkanware.de/stuff/shadownormalshader.zip

It´s an executable, but I´ve integrated the code and the level into the folder.
So even if you don´t have the mesh.dll, you can see how it will look like and how it works.

Thanks to Ventilator, Slin, HeelX and Father_Frank.

Now go and build some beautiful worlds!


no science involved