with the new Qt6.2 update, vertex and fragment shaders are required to be packaged in a .qsb file instead of embedded as strings in the ShaderEffect component.
I'm trying to change my vertexShader to use the new standard. Below is the code currently
vertexShader: "
uniform highp mat4 qt_Matrix;
attribute highp vec4 qt_Vertex;
attribute highp vec2 qt_MultiTexCoord0;
varying highp vec2 coord;
void main() {
coord = qt_MultiTexCoord0;
gl_Position = qt_Matrix * qt_Vertex;
}
"
How can I go about creating the .qsb file and using it in the ShaderEffect?