The shader i needed does:
- one texture for color/diffuse (texture unit 0)
- one texture for parallax map (texture unit 1)
- optional one texture for specular (texture unit 2)
- optional one texture lightmap (texture unit 3)
- supports 1, 2 or 3 different point light sources and one extra light for global illumination
Edit: If the shader also does some sort of LOD it would be great. Like for example using color texture and discard specular and normal mapping if distance to the observer is big enough.