QOpenGL double precission
-
Hi,
Is there any way how to ask for implementation double precission? In OpenGL 4+ its bit important and there is huge result...
Thanks.
-
https://www.opengl.org/wiki/Data_Type_(GLSL)#Basic_types
As long as the implementation and hardware support it, and you are using at least OpenGL 4, you should just be able to use double as a datatype in your shaders and have it work. Are you running into some sort of problem?
-
When you passing C++ data to GLSL there is problem... Qt using glUniform without double precission thats problem... I have to write my own instead using Qt :/ That's why I am asking for implementation...I won't change QOpenGLShaderProgram for custom
-
Hi,
The forum is not the right place for feature requests. You should use the "bug report system":http://bugreports.qt-project.org Don't forget to check if there's not already something
-
Use doubles how? As vertex attributes or uniforms or within UBOs or SSBOs or something else? What use case are you trying to support?
-
On bugtracker I found answer, QMatrix4x4 and others like QVector going to be implemented by double in Qt 6.0. My point was to pass double values into shader but it was still useless when we have QVector float instead of double.
-
Do you have a reference for that please? I don't see why we can't add double precision overloads in the Qt5 series.
-