ComfyUI > Nodes > ComfyUI_PHRenderFormerWrapper > RenderFormer Random Colors

ComfyUI Node: RenderFormer Random Colors

Class Name

RenderFormerRandomizeColors

Category
PHRenderFormer
Author
paulh4x (Account age: 391days)
Extension
ComfyUI_PHRenderFormerWrapper
Latest Updated
2025-08-08
Github Stars
0.03K

How to Install ComfyUI_PHRenderFormerWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI_PHRenderFormerWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_PHRenderFormerWrapper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

RenderFormer Random Colors Description

Enhances 3D model visuals with randomized color variations for diverse and dynamic textures.

RenderFormer Random Colors:

The RenderFormerRandomizeColors node is designed to enhance the visual diversity of 3D models by applying randomized color variations to their materials. This node is particularly useful for artists looking to add a dynamic and unique touch to their 3D scenes without manually adjusting each material. By leveraging different modes of color randomization, such as per-triangle, per-object, and per-shading group, the node provides flexibility in how colors are distributed across the model. This capability allows for the creation of visually interesting and varied textures, which can be crucial for achieving a more natural and less uniform appearance in digital art. The node's ability to randomize colors based on a seed value ensures that results can be replicated or varied as needed, offering both consistency and creativity in design.

RenderFormer Random Colors Input Parameters:

mesh

The mesh parameter represents the 3D model to which the color randomization will be applied. It is essential for defining the structure and materials that will undergo the color changes. This parameter is crucial as it serves as the base upon which all color modifications are made.

mode

The mode parameter determines the method of color randomization applied to the mesh. It can take values such as "per-triangle," "per-object," or "per-shading," each offering a different level of granularity in color application. "Per-triangle" applies random colors to each triangle, "per-object" applies a single color to the entire object, and "per-shading" applies colors based on shading groups. This parameter significantly impacts the visual outcome and should be chosen based on the desired effect.

seed

The seed parameter is used to initialize the random number generator, ensuring that the color randomization can be replicated. By using the same seed value, you can achieve consistent results across different runs, which is useful for maintaining a specific aesthetic or for debugging purposes.

max_brightness

The max_brightness parameter controls the maximum brightness level of the randomized colors. It defines the upper limit for the intensity of the colors applied to the mesh, allowing you to adjust how vibrant or subdued the colors appear. This parameter is important for achieving the desired visual impact and ensuring that the colors complement the overall scene.

RenderFormer Random Colors Output Parameters:

MESH

The MESH output parameter represents the modified 3D model with the newly applied randomized colors. This output is crucial as it provides the final visual result that can be used in further rendering or compositing processes.

MATERIAL

The MATERIAL output parameter contains the updated material properties of the mesh, reflecting the changes made by the color randomization process. This output is important for understanding how the materials have been altered and for ensuring that the desired visual effects have been achieved.

RenderFormer Random Colors Usage Tips:

  • Experiment with different mode settings to achieve various artistic effects, such as using "per-triangle" for a mosaic-like appearance or "per-object" for a more uniform look.
  • Adjust the max_brightness parameter to control the vibrancy of the colors, ensuring they fit well within the overall color scheme of your scene.
  • Use the seed parameter to replicate specific randomization results, which can be helpful for creating consistent series of images or animations.

RenderFormer Random Colors Common Errors and Solutions:

Invalid color string format

  • Explanation: This error occurs when the color string provided cannot be parsed into a valid RGB format.
  • Solution: Ensure that the color string is a comma-separated list of three numerical values representing the RGB components.

Mesh not found

  • Explanation: This error indicates that the specified mesh could not be located or is not properly defined.
  • Solution: Verify that the mesh parameter is correctly set and that the mesh exists in the specified location.

Unsupported mode

  • Explanation: This error arises when an invalid mode is specified for color randomization.
  • Solution: Check that the mode parameter is set to one of the supported values: "per-triangle," "per-object," or "per-shading."

RenderFormer Random Colors Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_PHRenderFormerWrapper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.