change pixels in shadow map

i have a pretty cool shader now but i would like to be able to sample if pixels are in a shadow map(not baked shadows, already have that). for example to occlude spec or change the color. is this possible? searches yielded nothing.

lol, nevermind! the shadow opacity was not at 1 on the light.