Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile node for rendering complex visual effects with GLSL shaders compatible with Shadertoy platform.
FL_Shadertoy is a versatile node designed to render complex visual effects using GLSL shaders, specifically those compatible with the Shadertoy platform. This node allows you to create dynamic and intricate animations or static images by leveraging the power of fragment shaders. It is particularly useful for AI artists looking to integrate custom shader effects into their projects without needing deep technical knowledge of OpenGL or shader programming. By providing a flexible interface for input parameters and textures, FL_Shadertoy enables you to experiment with various visual styles and effects, enhancing the creative possibilities of your AI-generated art.
This parameter defines the width of the output image or animation. It determines the horizontal resolution and can significantly impact the level of detail and performance. The minimum value is 64, the maximum is 2048, and the default is 512.
This parameter sets the height of the output image or animation, affecting the vertical resolution. Like the width, it influences the detail and performance. The minimum value is 64, the maximum is 2048, and the default is 512.
This parameter specifies the total number of frames to render for an animation. It controls the duration and smoothness of the animation. The minimum value is 1, the maximum is 262144, and the default is 1.
This parameter determines the frames per second for the animation, affecting its playback speed and fluidity. The minimum value is 1, the maximum is 120, and the default is 1.
This parameter is a string that contains the GLSL shader code to be executed. It allows you to define custom visual effects by writing or pasting shader code. The default value is a simple shader that varies pixel color over time.
This optional parameter allows you to input an image tensor to be used as a texture in the shader. It can be used to add custom textures or images to your shader effects.
Similar to channel_0, this optional parameter lets you input a second image tensor for additional texture usage in the shader.
This optional parameter provides a third image tensor for texture input, offering more complexity and variety in your shader effects.
This optional parameter allows for a fourth image tensor to be used as a texture, enabling even more intricate and layered visual effects.
The output parameter is an image tensor that contains the rendered result of the shader. This can be a single image or a sequence of images if an animation is rendered. The output is in the form of a tensor, making it easy to integrate with other nodes or processes in your workflow.
source
parameter to achieve various visual effects.channel_0
to channel_3
parameters to enhance the detail and quality of your shader effects.frame_count
and fps
parameters to control the duration and smoothness of animations.width
and height
values to test your shader quickly, then increase them for the final render to balance performance and quality.source
parameter.channel_0
to channel_3
are valid and correctly formatted. Check the dimensions and data types of the tensors.© Copyright 2024 RunComfy. All Rights Reserved.