I can't seem to find much information on the getsurface functions (DP and others?). I'm trying to get the pixel color at a point, which I think I can do with one of these. Getsurfacepointattribute is probably what I need, but I'm not sure what to use as inputs.
vector(entity e, float s, float n, float a) getsurfacepointattribute = #486;
e is understood, s is the surfacenearpoint?, n?, a is one of the surface constants?
Any help would be appreciated.