removed version macros from shaders and add automatically in compile step

This commit is contained in:
itsmattkc
2020-11-19 14:36:05 +11:00
parent 8c3f0ac64e
commit dcf56781b4
22 changed files with 18 additions and 71 deletions
+1 -3
View File
@@ -82,9 +82,7 @@ ShaderCode MathNodeBase::GetShaderCodeInternal(const QString &shader_id, NodeInp
GetShaderVariableCall(param_b_in->id(), type_b));
}
frag = QStringLiteral("#version 150\n"
"\n"
"uniform %1 %3;\n"
frag = QStringLiteral("uniform %1 %3;\n"
"uniform %2 %4;\n"
"\n"
"in vec2 ove_texcoord;\n"