Fix multiple light sources with 3D textures. Use layered rendering.