Vertex shader tutorial - weird behaviour

hi there,

i just worked through the vertex shader tutorial and noticed a behaviour i don’t understand.

in patch 04_VertexData the VertexData effect is supposed to offset the vertex z-coord according to the color of a texture. however, this only works when the effect is fed with a “virgin” grid. it does not work when the modified grid in the patch is used.

i have no idea why this should not work. could this be a bug (of the graphiccard/driver)?

check uv cords on “modified” grid since displace will work only as a texture

yeah, that was it. thanks a a lot!