Hmm, sorry here, always the same error : [glsl_program]: link failed! (PowerBook G4, GeForce FX Go5200, MacOsX.4.11). I will test this patch later on MacPro with GeForce 7300 GT. ++
Jack
Le 9 déc. 07 à 14:21, cyrille henry a écrit :
hello,
i investigate a bit more the vertex displacement problem. so i've got a 8 bit texture that is rendered in a FLOAT framebuffer, in order to convert it to 32 bit. then, the frambuffer texture is used in a shader to distord a primitive
i have to strangely mix mode 0 and mode 1 in the patch to make it work, and this is very ineficient (just like in 8bit mode).
framebuffer and fragment shader usually work in mode 0 and 1 on my computer.
see patch for more.
thanks to have a look. using texture in vertex shader would be great...
thanks Cyrille
<vertex_displacement.zip> _______________________________________________ GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev