🔧 Use rgba color config readers

This commit is contained in:
Simon Schneegans
2022-06-13 06:24:38 +02:00
parent fda91e69bb
commit d76aea4fc8
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -6,5 +6,5 @@ effect.setUniform(this.shader, 'uAdditiveBlending',
effect.readConfig('AdditiveBlending', true) ? 1.0 : 0.0);
effect.setUniform(this.shader, 'uScale', effect.readConfig('Scale', 1.0));
effect.setUniform(this.shader, 'uLineWidth', effect.readConfig('LineWidth', 1.0));
effect.setUniform(this.shader, 'uGlowColor', effect.readConfig('GlowColor', 'white'));
effect.setUniform(this.shader, 'uLineColor', effect.readConfig('LineColor', 'white'));
effect.setUniform(this.shader, 'uGlowColor', this.readRGBAConfig('GlowColor'));
effect.setUniform(this.shader, 'uLineColor', this.readRGBAConfig('LineColor'));