Is it possible to access the vertex buffer in the fragment shader using sampler1D in Opengl 3.0>? I think I read about it in the past, but I can do nothing about it. I can display data in a texture, but that would not be very elegant code if a more explicit way is available.
source
share