Normalize(vec3) Returns a vector with the same direction as vector, but with the lenght of 1. vec3 normalize(vec3 vector) Parameters vector Type: vec3 Returns vec3 The normalized vector.