How to pass an uniform value into vertex and fragment shaders?
I know that something like that is possible in QMaterial
:
self.colorParameter = Qt3DRender.QParameter("color", color)
self.addParameter(self.colorParameter)
Is there any other way?
My goal is to pass some uniform values and change them from time to time.