Salut
Est ce que c posible d'afficher des images stocker en virgulle flottante en utilisant une texture qui supporte les virgulle flottant (16bit/pxel) sous OpenGl ?
Exmple:
pour l'instant j'utilise : (ca marche mais c en entier non signe)
gluBuild2DMipmaps(GL_TEXTURE_2D, 4, img.width(), img.height(), GL_RGBA, GL_UNSIGNED_BYTE, img.bits());

jai tenter dutiliser :
gluBuild2DMipmaps(GL_TEXTURE_2D, 4, img.width(), img.height(), GL_RGBA, GL_FLOAT, img.bits());

J'ai recu un message derreur : Segmentation fault lors du chargement de limage

Merci d avance