Example Workflows
This directory contains example workflows demonstrating the NormalMapLightEstimator node.
Files
example_workflow.json- Basic workflow showing node usageREADME.md- This file
Usage
- Load the example workflow in ComfyUI
- Connect your normal map and luma image
- Adjust parameters as needed
- Run the workflow to see results
Example Parameters
Basic Setup
luma_threshold: 0.5 (default)curve_type: "s_curve" (enhances mid-tones)x_threshold: 0.1 (sensitive to left/right)y_threshold: 0.1 (sensitive to top/bottom)
Hard Light Detection
hard_light_threshold: 0.1 (very sensitive)soft_light_threshold: 0.2 (narrow range)
Soft Light Detection
hard_light_threshold: 0.2 (less sensitive)soft_light_threshold: 0.5 (wider range)
Outputs
The node provides:
- Categorical directions (X, Y, combined)
- Hard/soft index (0.0 to 1.0)
- Confidence scores
- Debug visualizations