If my recall is correct, the movie was called “Shockwave” and was basically about a U-Boat crew who had been rendered almost immortal, with little need for food, or much else. They somehow end up in the Carribean, (iIrc) near an “uncharted” island.
The goggles were because exposure of the crews’ eyes to sunlight in direct manner would (and did) kill them. About the only thing capable of killing them, in fact. This discovery is made during a hand-to-hand combat sequence that takes place either on or near the conning tower of the type VII C (in reality a US Gato class boat, before “guppy” conversion) during the movie.
I don’t recall much more than that, which means I had a pretty low opinion of the movie at the time.
Kind and Respectful Regards, Uyraell.