← ClaudeAtlas

blender-lighting-recipeslisted

Sets up lighting in Blender from recipes scaled to the subject's size - studio three-point, soft product light, HDRI, overcast, sunset and night - with starting values for power, size and placement. Use when a scene has no lights, renders too dark, flat or harsh, or when an agent must light a model it has just imported for product shots, a turntable or a portfolio still.
JasmyLab-JANCTION/janction-render · ★ 4 · AI & Automation · score 77
Install: claude install-skill JasmyLab-JANCTION/janction-render
# Blender Lighting Recipes Light relative to the subject, not in absolute numbers. A 10 cm cup and a 4 m car need the same setup at different scales: measure the subject, then place lights at multiples of its size and scale power with distance squared. All values below are starting points; preview and adjust exposure or power in steps of about 2x. Do not add or replace lights in a user's lit scene without asking: lighting is part of the look. ## Measure the subject ```python import bpy from mathutils import Vector def bounds(objs): pts = [o.matrix_world @ Vector(c) for o in objs if o.type in {"MESH", "CURVE", "FONT"} for c in o.bound_box] lo = Vector((min(p.x for p in pts), min(p.y for p in pts), min(p.z for p in pts))) hi = Vector((max(p.x for p in pts), max(p.y for p in pts), max(p.z for p in pts))) return (lo + hi) / 2, (hi - lo).length # center, size (bounding diagonal, metres) center, size = bounds(bpy.context.scene.objects) ``` ## Studio three-point (products, characters, portfolio) ```python import math def area_light(name, power, sz, azimuth_deg, elevation_deg, dist, center): a, e = math.radians(azimuth_deg), math.radians(elevation_deg) loc = center + Vector((math.cos(e) * math.sin(a), -math.cos(e) * math.cos(a), math.sin(e))) * dist data = bpy.data.lights.new(name, "AREA") data.shape, data.size, data.energy = "DISK", sz, power obj = bpy.data.objects.new(name, data) bpy.context.scene.collection.objects.link(obj