a lib for shader effect