Problem With Vertex Texture Fetch

Started by
-1 comments, last by abdulla 15 years, 11 months ago
I'm trying to perform a vertex texture fetch on a GeForce 7600 with driver 169.12 under 64-bit Linux. When I set the filtering to:

	TexParameteri( TEXTURE_2D, TEXTURE_MAG_FILTER, LINEAR );
	TexParameteri( TEXTURE_2D, TEXTURE_MIN_FILTER, LINEAR_MIPMAP_LINEAR );

The texture fetch works, but I get a huge slow down, presumably because I'm hitting the software fallback. But when I set the filtering to:

	TexParameteri( TEXTURE_2D, TEXTURE_MAG_FILTER, NEAREST );
	TexParameteri( TEXTURE_2D, TEXTURE_MIN_FILTER, NEAREST_MIPMAP_NEAREST );

It goes fast, but the vertex texture fetch doesn't seem to work. Is there something I'm missing? That's the only thing I change, as suggested by: Nvidia vertex texture paper I'm using the following to set the texture format:

	TexImage2D( TEXTURE_2D, 0, LUMINANCE32F, width, height, 0, LUMINANCE, FLOAT, data );

This topic is closed to new replies.

Advertisement