|
|
@@ -1015,7 +1015,8 @@ reflect_uniform(int i, char *name_buffer, GLsizei name_buflen) {
|
|
|
else if (noprefix.compare(7, string::npos, "Height") == 0) {
|
|
|
bind._part = Shader::STO_stage_height_i;
|
|
|
}
|
|
|
- else if (noprefix.compare(7, string::npos, "Selector") == 0) {
|
|
|
+ else if (noprefix.compare(7, string::npos, "MetallicRoughness") == 0 ||
|
|
|
+ noprefix.compare(7, string::npos, "Selector") == 0) {
|
|
|
bind._part = Shader::STO_stage_selector_i;
|
|
|
}
|
|
|
else if (noprefix.compare(7, string::npos, "Gloss") == 0) {
|