Priority: Not Evaluated
Affects Version/s: 5.15.2
Fix Version/s: None
When using QOpenGLShaderProgram.setUniformValue() with a parameter other than a single float, the warning is produced and the uniform is not set.
The argument type is mentioned in the documentation: https://doc.qt.io/archives/qtforpython-5.14/PySide2/QtGui/QOpenGLShaderProgram.html#id76
Is there a workaround for this? How to use shaders with PySide2?
- Cannot use PyOpenGL because it is not correctly initialized on some of our clients' machines, even though it did work with PySide(Qt4) https://bugreports.qt.io/browse/QTBUG-42240
- Cannot use QOpenGLFunctions because of the bug (https://bugreports.qt.io/browse/PYSIDE-1511)
- Now I cannot use `setUniformValue`