mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 22:39:39 +00:00
fix
This commit is contained in:
@@ -13,7 +13,10 @@ if(typeof(LiteGraph) != "undefined")
|
||||
this.properties = { aberration:1.0, distortion: 1.0, blur: 1.0, precision: LGraphTexture.DEFAULT };
|
||||
|
||||
if(!LGraphFXLens._shader)
|
||||
{
|
||||
LGraphFXLens._shader = new GL.Shader( Shader.SCREEN_VERTEX_SHADER, LGraphFXLens.pixel_shader );
|
||||
LGraphFXLens._texture = new GL.Texture(3,1,{ format: gl.RGB, wrap: gl.CLAMP_TO_EDGE, magFilter: gl.LINEAR, minFilter: gl.LINEAR, pixel_data: [255,0,0, 0,255,0, 0,0,255] });
|
||||
}
|
||||
}
|
||||
|
||||
LGraphFXLens.title = "Lens";
|
||||
@@ -35,7 +38,6 @@ if(typeof(LiteGraph) != "undefined")
|
||||
|
||||
this._tex = LGraphTexture.getTargetTexture( tex, this._tex, this.properties.precision );
|
||||
|
||||
//iterations
|
||||
var aberration = this.properties.aberration;
|
||||
if( this.isInputConnected(1) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user