I am using a float pbuffer to store particle coords. I want to render them as points, without reading them back to the CPU.
It seems that I cant read a texture from a vertex program.
Has anyone tried somthing like this?
I am using a float pbuffer to store particle coords. I want to render them as points, without reading them back to the CPU.
It seems that I cant read a texture from a vertex program.
Has anyone tried somthing like this?
for such (and much other) uses, the ARB_uber_buffer spec is at work… currently you can only do this with NV_pixel_array_range (or similar naming).
Originally posted by TAX:
It seems that I cant read a texture from a vertex program.
As far as I know, current hw can’t do this yet.
Correct me if I’m wrong.
No hardware today can read textures directly from the vertex shader. However, with the super_buffer extension you can use a texture as a vertex buffer, which should allow you to do some stuff that would otherwise need texture access.