texCUBE in vertex program

Hi guys. Do you know if it’s possible to sample a cubemap in a vertex shader. I need it for moving the vertices along the normals based on a value sampled from the cubemap.

Cheers,

Kamil

sorted. adding “#pragma glsl” removes all the errors