- Home /
Question by
kamil.slawicki · Sep 06, 2011 at 12:03 PM ·
vertex shader
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
Comment
Best Answer
Answer by kamil.slawicki · Sep 06, 2011 at 02:09 PM
sorted. adding "#pragma glsl" removes all the errors
Your answer