8c807485b1Reworks the $Core::commonShaderPath variable usage to be a static variable in ShaderGen for efficiency(only one getVariable when shadergen is initialized), as well as implements the ability to set a default value, and ensures that it tries to set a path even if the pref variable is missing which is important for ported projects from older builds.
8 anni fa
LuisAntonRebollo
1ac8fab884Changes for get necesary sampler names for OpenGL shaders.