vertex and fragment shaders for ward