mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 04:30:06 +00:00
fixup! fixup! OpenGL: Implement DOT3 texture combiner
This commit is contained in:
parent
866806fefb
commit
d032b85aa1
@ -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]";
|
out += "min(" + variable_name + "[0] + " + variable_name + "[1], vec3(1.0)) * " + variable_name + "[2]";
|
||||||
break;
|
break;
|
||||||
case Operation::Dot3_RGB:
|
case Operation::Dot3_RGB:
|
||||||
out += "vec3(dot(" + variable_name + "[0], " + variable_name + "[1]))";
|
out += "vec3(dot(" + variable_name + "[0] - vec3(0.5), " + variable_name + "[1] - vec3(0.5)) * 2.0 + vec3(0.5))";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
out += "vec3(0.0)";
|
out += "vec3(0.0)";
|
||||||
|
Loading…
Reference in New Issue
Block a user