add clamping to sprite textures