First of all, thanks for the awesome shader. I've been anxiously waiting for a good segment shader with normal mapping since the early days of V1, almost.
Quote: "Like my other segment shaders, lighting calculations are done from the player position, since FPSC doesn't pass lighting position to segments."
I just recalled reading about something that had to do with the lights' positions sometime during the first few betas of 117, then I saw this while sniffing around the google code page;
Quote: "* Added LIGHTSOURCE data to scenery shaders to allow segment shaders to pickup local average light position"
I assume it does exactly what the description says, which would be awesome, and if so, would it be very complicated to edit your shader to make use of that variable instead?