Analysis updated 2026-05-18
Render a lit reference sphere image to control sun direction when generating images with Flux 2 Klein 9B.
Pair this node with the companion Sun Direction Lora downloaded from Hugging Face to control lighting in a ComfyUI workflow.
Add directional lighting control to an existing image generation pipeline built in ComfyUI.
| eric-venti-seeds/sphere-light-render-comfyui | forgetmeai/freedeepseekapi | gaearon/website | |
|---|---|---|---|
| Stars | 31 | 31 | 31 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | — | — | 2024-05-24 |
| Maintenance | — | — | Dormant |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | vibe coder | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires cloning into ComfyUI/custom_nodes/ and separately downloading the companion Sun Direction Lora from Hugging Face.
Sphere-Light-Render-ComfyUI is a small custom node for ComfyUI, a visual node-based interface for running AI image generation models. Its job is narrow and specific: it renders a 1024 by 1024 pixel image of a sphere lit from a chosen direction, which is then used as a reference so an AI image model knows which way sunlight should be coming from in the image it generates. It is meant to be paired with a companion model called Sun Direction Lora, built for a text-to-image model named Flux 2 Klein 9B. A Lora is a small add-on file that adjusts how a larger AI model behaves without retraining the whole thing, and in this case it teaches the model to follow the lighting direction shown in the sphere image this node produces. The Lora itself is not included in this repository. It has to be downloaded separately from a linked Hugging Face page. Installing the node is a matter of cloning the repository directly into ComfyUI's custom_nodes folder and restarting ComfyUI. The README states that the core node needs no additional Python packages beyond what ComfyUI already provides. The README is quite short and does not go into detail about the node's internal settings, what light angles or intensities can be configured, or how exactly the sphere image should be wired into a larger ComfyUI workflow alongside the Lora. Anyone using it would likely need to look at the node's inputs directly inside ComfyUI or examine the linked example images to understand the full range of options.
A ComfyUI custom node that renders a lit reference sphere so a paired Lora model can control which direction sunlight comes from in AI-generated images.
Mainly JavaScript. The stack also includes JavaScript, ComfyUI, Flux 2 Klein 9B.
The README does not state a license.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.