OpenGLTexture floating point (32-bit float)

opengl

#1

Hello,
is there such a thing in JUCE ? i would need a texture with more than 8-bit per channel to be able to pass a large number of floating values inside the shader, and the float array maximum size is limited.

Thank you


#2

Hi!

I don’t know exactly about the exact texture type that you want to use, but if you cannot find its definition in the header provided by Juce, I suggest adding GLEW to the mix. I found that the support for somewhat advanced OpenGL functionality in Juce is rather limited, so in my case GLEW (or some other alternative, up to you) became necessary eventually.