{Qt/Qml 5.2.0, creator 3.0}
The way to write the shader code in quotes for vertex and fragment shader properties of ShaderEffect seems a little inefficient for me. Lack indentation and other smart IDE features since it is after all a string. However i do see that I can create .vsh and .fsh files whenever i do add-new-files. Do you know how to use these in vertexshader and fragmentshader properties of ShaderEffect?
eg.,
shader file = VShader.vsh
shader file = VShader.vsh
To copy to clipboard, switch view to plain text mode
ShaderEffect {
vertexshader: VShader.vsh //how do i wirte this
}
ShaderEffect {
vertexshader: VShader.vsh //how do i wirte this
}
To copy to clipboard, switch view to plain text mode
Bookmarks