minor shader changes

int to float, and gl_colour = texture2D since "texture" is only
supported in version 130 and later