okay, here you (two) go: download (~1.14 Mb)

...and what it includes / supports:
  • per pixel lighting, diffuse and specular (blinn-phong model)
  • all light types (directional- [sun], point- and spotlights)
  • normalmapping, 2nd skin is used as normalmap
  • some little stuff like overall-light-brightness and alpha-clip
  • ambient lighting; the material's and the entity's ambient values are added together
  • and the self illumination effect, of course; controlled by the alpha value as I've explained before

All the settings can be done by using the #defines in the shader file so have a look at it.
To disable normalmapping for example just comment the line: #define EnableNormalmapping

I also generated a quick normal-map to test it and for showing you the effect wink

At the moment it doesn't support fog I still have to do this, but for now this should be enough for you to start using the shader.

Last edited by Kartoffel; 01/22/13 16:56. Reason: my bad grammar...

POTATO-MAN saves the day! - Random