Generated reference · ComfyUI workflow · Texture & material

HDRI Environment Map Generator

Generate HDRI-style environment maps for 3D scene lighting and reflections

Texture & material12nodesGPU A5000out image~120sv1.0.0

On this page
12Graph nodes
10Node classes
15Inputs
2Models

Tags: hdrienvironment3dlightingskyboxpanorama

Inputs (15)#

The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.

environment_typeenumdefault sky_sunset
Type of environment to generate
options: sky_daysky_sunsetsky_nightindoor_studioindoor_templeforestmountainoceandesertcosmicsacred_spacemeditation_roomabstract_void
atmosphereenumdefault peaceful
Atmospheric conditions
options: clearcloudystormymistyetherealdramaticpeaceful
lighting_qualityenumdefault golden_hour
Quality and style of lighting
options: soft_diffusedramatic_contrastgolden_hourblue_hourmoonlitmystical_glowstudio_neutral
color_temperatureenumdefault warm
Overall color temperature
options: warmneutralcoolmixed
include_sunbooleandefault true
Include visible sun/light source
sun_positionenumdefault low_horizon
Position of main light source
options: highmediumlow_horizonbehind
detail_levelenumdefault detailed
Level of environmental detail
options: simplemoderatedetailedhighly_detailed
spiritual_elementsbooleandefault false
Include spiritual/mystical elements
output_formatenumdefault equirectangular
Output format for 3D use
options: equirectangularcubemap_crosscubemap_separate
resolutionenumdefault 4096x2048
Output resolution
options: 2048x10244096x20488192x4096
hdr_rangeenumdefault extended
Dynamic range simulation
options: standardextendedhigh
seedintegerdefault -1
Random seed
hires_fixbooleandefault true
Two-pass detail refinement: 1.5x latent upscale + low-denoise second sampling pass
freeubooleandefault true
FreeU v2 backbone re-weighting (family-tuned b1/b2/s1/s2)
checkpointenumdefault sdxl_base
SDXL checkpoint: curated photoreal finetune (default) or base 1.0
options: realvis_xl_v5sdxl_base

ComfyUI node graph (12)#

The executable ComfyUI prompt graph: 12 nodes across 10 distinct node classes, wired by 17 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.

flowchart TD n0["1: CheckpointLoaderSimple"] n1["2: CLIPTextEncode"] n2["3: CLIPTextEncode"] n3["4: EmptyLatentImage"] n4["5: KSampler"] n5["6: VAEDecode"] n6["7: HDRProcessor"] n7["8: EnvironmentMapFormatter"] n8["9: SaveImage"] n9["freeu: FreeU_V2"] n10["hires_upscale: LatentUpscaleBy"] n11["hires_sampler: KSampler"] n0 -->|clip| n1 n0 -->|clip| n2 n9 -->|model| n4 n1 -->|positive| n4 n2 -->|negative| n4 n3 -->|latent_image| n4 n11 -->|samples| n5 n0 -->|vae| n5 n5 -->|image| n6 n6 -->|image| n7 n7 -->|images| n8 n0 -->|model| n9 n4 -->|samples| n10 n9 -->|model| n11 n1 -->|positive| n11 n2 -->|negative| n11 n10 -->|latent_image| n11 classDef custom fill:#12b886,stroke:#0b6b4f,color:#04110c; class n6,n7 custom;
Data-flow DAG — scroll to zoom, drag to pan.

Nodes (12)#

1CheckpointLoaderSimplecore
ckpt_name = {{checkpoint_files[checkpoint]}} tmpl
outputs: MODELCLIPVAE
2CLIPTextEncodecore
text = {{constructed_prompt}} tmplclip = ◂ node 1 · out[1]
outputs: CONDITIONING
3CLIPTextEncodecore
text = text, watermark, logo, people, figures, objects in foreground, ugly, low quality, seams, stitching artifacts, distorted, warpedclip = ◂ node 1 · out[1]
outputs: CONDITIONING
4EmptyLatentImagecore
width = {{resolution_map[resolution].width}} tmplheight = {{resolution_map[resolution].height}} tmplbatch_size = 1
outputs: LATENT
5KSamplercore
model = ◂ node freeu · out[0]positive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]latent_image = ◂ node 4 · out[0]seed = {{seed}} tmplsteps = 35cfg = 7.5sampler_name = dpmpp_2m_sdescheduler = karrasdenoise = 1.0
outputs: LATENT
6VAEDecodecore
samples = ◂ node hires_sampler · out[0]vae = ◂ node 1 · out[2]
outputs: IMAGE
7HDRProcessorcustom pack
image = ◂ node 6 · out[0]range_mode = {{hdr_range}} tmpltone_mapping = filmic
outputs: IMAGE
8EnvironmentMapFormattercustom pack
image = ◂ node 7 · out[0]format = {{output_format}} tmplseamless_blend = true
outputs: IMAGE
9SaveImagecore
images = ◂ node 8 · out[0]filename_prefix = environment_map
freeuFreeU_V2core
model = ◂ node 1 · out[0]b1 = 1.1b2 = 1.2s1 = 0.6s2 = 0.4
outputs: MODEL
hires_upscaleLatentUpscaleBycore
samples = ◂ node 5 · out[0]upscale_method = bislerpscale_by = 1.5
outputs: LATENT
hires_samplerKSamplercore
model = ◂ node freeu · out[0]positive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]latent_image = ◂ node hires_upscale · out[0]seed = {{seed}} tmplsteps = 14cfg = 7.5sampler_name = dpmpp_2mscheduler = karrasdenoise = 0.45
outputs: LATENT

Prompt construction#

template
360 degree panoramic environment map, seamless equirectangular projection, {environment_prompt}, {atmosphere_prompt}, {lighting_prompt}, {color_temp} color temperature, {detail_level} detail{sun_clause}{spiritual_clause}, suitable for HDRI lighting, no seams, continuous panorama, professional quality

Variables (7)#

environment_prompt
{{environment_prompts[environment_type]}} tmpl
atmosphere_prompt
{{atmosphere_prompts[atmosphere]}} tmpl
lighting_prompt
{{lighting_prompts[lighting_quality]}} tmpl
color_temp
{{color_temperature}} tmpl
detail_level
{{detail_level}} tmpl
sun_clause
{{', visible sun at ' + sun_position + ' position' if include_sun else ', no direct sun visible'}} tmpl
spiritual_clause
{{', with spiritual elements, sacred symbols, mystical quality' if spiritual_elements else ''}} tmpl

Parameter banks (4)#

The prompt / configuration lookup tables this workflow keys into from its inputs — the vocabulary that turns a style / palette / preset selection into graph parameters.

environment_prompts (13)#

sky_day
daytime sky environment, blue sky, white clouds, natural daylight, outdoor lighting
sky_sunset
sunset sky environment, orange pink purple gradient, golden light, dramatic clouds
sky_night
night sky environment, stars visible, dark blue, moonlight, nocturnal atmosphere
indoor_studio
professional studio environment, neutral gray backdrop, softbox lighting, controlled light
indoor_temple
temple interior environment, sacred architecture, candlelight, spiritual atmosphere
forest
forest environment, tree canopy, dappled sunlight, green foliage, natural setting
mountain
mountain environment, rocky peaks, expansive sky, alpine atmosphere
ocean
ocean environment, horizon line, water reflections, coastal atmosphere
desert
desert environment, sand dunes, clear sky, warm tones, arid landscape
cosmic
cosmic environment, nebula, stars, galaxies, space panorama, universe
sacred_space
sacred space environment, temple elements, spiritual symbols, divine light
meditation_room
meditation room environment, peaceful interior, soft lighting, zen atmosphere
abstract_void
abstract void environment, color gradients, non-representational, artistic backdrop

atmosphere_prompts (7)#

clear
clear atmosphere, no haze, sharp visibility, pure air
cloudy
cloudy atmosphere, cloud coverage, diffused light, soft shadows
stormy
stormy atmosphere, dramatic clouds, moody lighting, tension
misty
misty atmosphere, fog, soft edges, mysterious depth
ethereal
ethereal atmosphere, otherworldly light, magical quality
dramatic
dramatic atmosphere, strong contrasts, intense lighting
peaceful
peaceful atmosphere, calm light, serene ambiance

lighting_prompts (7)#

soft_diffuse
soft diffuse lighting, even illumination, no harsh shadows
dramatic_contrast
dramatic high contrast lighting, deep shadows, bright highlights
golden_hour
golden hour lighting, warm amber light, long shadows, magical glow
blue_hour
blue hour lighting, cool twilight tones, soft romantic light
moonlit
moonlit lighting, silver blue tones, nocturnal illumination
mystical_glow
mystical glowing light, ethereal illumination, supernatural quality
studio_neutral
neutral studio lighting, balanced exposure, professional quality

resolution_map (3)#

2048x1024
{"width": 2048, "height": 1024}
4096x2048
{"width": 4096, "height": 2048}
8192x4096
{"width": 8192, "height": 4096}

Models & dependencies#

Custom node packs (2)#

The non-core ComfyUI node classes this graph requires; the RunPod worker image the workflow runs on must bake or install a pack that provides every one of them.

HDRProcessorEnvironmentMapFormatter

Checkpoint aliases (2)#

realvis_xl_v5
RealVisXL_V5.0_fp16.safetensors
sdxl_base
sd_xl_base_1.0.safetensors

Models required (2)#

RealVisXL_V5.0_fp16.safetensors
sd_xl_base_1.0.safetensors

Output contract#

What a successful run of this workflow returns.

type
image
format
exr
channels
3
hdr
true
description
HDRI environment map for 3D rendering

Taxonomy & routing#

How the control plane classifies this workflow — from the committed workflow-taxonomy-registry.json. It drives the consistency / control surface the agentic director can exercise over the workflow.

assetFamily
game-skybox-hdri-pack
outputPackageProfile
game-ready-3d-profile
controlModalities
camera-lockcolor-script-lockcontrolnet-depthdepth-constraintidentity-adapterlatent-reuselens-profile-lockmodel-lockpalette-lockpose-constraintprompt-template-lockreference-ensemblesampler-scheduler-lockscene-lockseed-lockstyle-anchor +3 more
consistencyDimensions
environmentlightinglenscolor-script
notes
Auto-mapped from texture defaults