code: function LGraphTextureGradient() {
              this.addInput("A", "color");
              this.addInput("B", "color");
              this.addOutput("Texture", "Texture");
  
              this.properties = {
                  angle: 0,
                  scale: 1,
                  A: [0, 0, 0],
                  B: [1, 1, 1],
                  texture_size: 32
              };
              if (!LGraphTextureGradient._shader) {
                  LGraphTextureGradient._shader = new GL.Shader(
                      Shader.SCREEN_VERTEX_SHADER,
                      LGraphTextureGradient.pixel_shader
                  );
              }
  
              this._uniforms = {
                  u_angle: 0,
                  u_colorA: vec3.create(),
                  u_colorB: vec3.create()
              };
          }
docs: Texture Channels to Texture *****************************************