fixup! OpenGL: Implement DOT3 texture combiner

This commit is contained in:
Yuri Kunde Schlesner 2016-03-06 01:04:22 -08:00
parent 4dadb250ef
commit 866806fefb

View File

@ -199,7 +199,7 @@ static void AppendColorCombiner(std::string& out, TevStageConfig::Operation oper
out += "min(" + variable_name + "[0] + " + variable_name + "[1], vec3(1.0)) * " + variable_name + "[2]";
break;
case Operation::Dot3_RGB:
out += "dot(" + variable_name + "[0], " + variable_name + "[1])";
out += "vec3(dot(" + variable_name + "[0], " + variable_name + "[1]))";
break;
default:
out += "vec3(0.0)";