VS Texture access in RM1.6v?

I am trying to do a texture access in the VS and I have a 7800GT, I can’t get it to work so am unsure thats its possible? Here is my code…

uniform sampler2D hm;

void main(void)
    vec4 displacement = texture2D(hm, gl_MultiTexCoord0.xy);
    vec4 position = gl_Vertex;
    position.y += (displacement.r * 2.0);
    gl_Position = gl_ModelViewProjectionMatrix * position;


do you use the right texture format? …i think 32bit float, no filtering

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.