hsl_to_rgb: remove unnecessary check for rgb 0

The client internally uses rgb 0 for alpha pixels, and so will use rgb 1
for things which are actually black. We don't do this.
This commit is contained in:
Adam
2020-04-17 13:21:49 -04:00
parent af36b46aab
commit 18ba6a54d0

View File

@@ -91,10 +91,5 @@ vec3 hslToRgb(int hsl) {
pow(var17, brightness)
);
// I don't think we actually need this
if (rgb == vec3(0, 0, 0)) {
rgb = vec3(0, 0, 1/255.f);
}
return rgb;
}