passed klm to shader

TODO: write kml func in ps