Doing some very good progress with the shader!
Corrected a lot of annoying things, I'm now planning on releasing in the next minutes or so.
I've corrected the sharp wave line bug tht you could see on one of the previous pictures. The hull is not overly dark anymore, it's lighter and even better, light is now fading along hull. It is a tad darker at the top of the hull and going lighter all along down to the waterline.
The odd wave line have been forced fixed on the middle of the hull above waterline part (was previously going up and down the whole hull in a sinusoidal pattern) and diverted so that everything that is below the odd wave line is rendered very slightly lighter and the wave pattern is randomly changing. I know it's hard to describe but it gives a nice very subtle light effect, as if the ocean waves were very slightly reflecting light on the hull.
More over, only hull parts that are above waterline will be rendered wet. It means only grey hull part and saddle above waterline will be rendered shiny and wet, the entire hull under the waterline is rendered normally as before, preventing an "entirely über shiny u-boat" effect.
doesn't really do it justice but:
Progress before:
Progress now:
Testing at the moment ingame