ComfyUI Extension
tk_comfyui_view_and_light
TK View and Light: A ComfyUI node for 3D camera and lighting control
tackcrypto1031/tk_comfyui_view_and_light
Nodes1
On cloudLocal install
CategoryTK Nodes
Stars0
Updated4 months ago
Nodes (1)
Readme
TK View & Light
A professional ComfyUI node that provides an interactive 3D widget for controlling camera angles and lighting directions. This tool is designed to help creators easily visualize and generate precise prompts for 3D-aware image generation.

🚀 Key Features
- Interactive 3D Widget: A real-time 3D viewport using Three.js to visualize camera and light positions.
- Precision Camera Control: Adjust horizontal angle (0-360°), vertical angle (-90 to 90°), and zoom levels.
- Dynamic Lighting Control: Enable/Disable lighting, adjust light source direction, and choose light colors with a built-in color picker.
- Dual Prompt Output: Automatically generates two separate prompts:
camera_prompt: Detailed camera positioning (e.g., "front-right quarter view, eye-level shot, medium shot").light_prompt: Detailed lighting description (e.g., "(light source from the Right Front, High), #FFFFFF colored light").
- Visual Feedback: Real-time updates of the 3D scene based on your inputs.
🛠️ Installation
Method 1: ComfyUI-Manager (Recommended)
- Search for
TK View & Lightin the ComfyUI-Manager. - Click Install.
- Restart ComfyUI.
Method 2: Git Clone
- Navigate to your ComfyUI
custom_nodesdirectory. - Clone this repository:
git clone https://github.com/tackcrypto1031/tk_comfyui_view_and_light.git - Restart ComfyUI.
📖 Usage
- Add the TK View & Light node (found under
TK Nodescategory). - Use the sliders or the 3D Widget directly:
- Left Click & Drag: Adjust Camera View.
- Click "Light Mode": Switch the widget control to adjust the Light source position.
- Connect the
camera_promptandlight_promptoutputs to your text encoder or prompt merger. - (Optional) Connect an input
imageto see it reflected in the 3D widget's background or reference plane.
🙏 Acknowledgments
Special thanks to the following open-source projects for their technology and inspiration:
- ComfyUI-qwenmultiangle - For the multi-angle camera prompt logic.
- ComfyUI-AdvancedCameraPrompts - For advanced camera control techniques.
✉️ Contact
- Author: Tack
- Email: [email protected]
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.