Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

blender-lighting

БесплатноБез исполняемых скриптовНе проверен

Light Blender scenes professionally — three-point setups, HDRI environments, studio/cinematic/dramatic configurations, light groups, color temperature, soft…

RobLe3от RobLe3★ 202 звезды на GitHub

Об этом скилле

MCP backend

Use when: Any lighting setup or modification in Blender. Includes HDRI/environment lighting and individual lamp placement.

Before the first Blender call, read ../text-to-blender/references/mcp-backends.md. Prefer official MCP for shared capabilities; preserve the selected backend for the whole task. Tool names in recipes are client/legacy examples: map them through that reference and its agent-host guide.

Blender Lighting

Light scenes the way pros do: with structure, intent, and physically reasonable values.

The five light types

Type Behavior Use for
AREA Light from a rectangular surface; soft shadows automatic 80% of cases. Window, softbox, fluorescent panel
SUN Parallel rays from "infinity" Sunlight, moonlight, distant directional
POINT Omnidirectional from a point Bulbs, candles, small omnis
SPOT Cone with falloff Stage lights, headlights, focused beams
HDRI/World 360° environment image Realistic ambient, outdoor, product photography

Default rule: Use Area lights for almost everything except the sun. Soft shadows come for free.

Decision tree

What's the mood?
├── Studio / commercial → Three-point lighting (key+fill+rim) + HDRI fill 0.3
├── Outdoor / sunlit → Sun + HDRI sky environment
├── Indoor cinematic → Sun through window + HDRI low + practicals (lamps as Point)
├── Dramatic / noir → Single Spot at high angle, no fill
├── Stylized / cartoon → Three-point with high contrast + saturated key color
└── Unsure → Three-point with HDRI grounding (works for 90% of cases)

Reference-look handoff

If the goal is to match an original/reference image rather than make a generally attractive render, chain-load reference-look-calibration. It owns measurement of hue/saturation/value, object extent, glow/aura color, and before/after look metrics. This skill should then apply the requested material/lighting/render changes within that calibrated target.

Recipes

Helper: aim_at(light, target) — required for subject-aware lighting

Recipe 1 below positions lights at fixed world coords with hardcoded rotations. That's fine for a generic 1m subject at the world origin. For ANY other subject (small jewellery, tall sword, sprawling building), you need lights aimed at the subject. Use this helper:

from mathutils import Vector

def aim_at(light_obj, target):
    """Aim a light at a world-space target.
    target may be a Vector or a tuple/list (x, y, z) or a Blender object.
    """
    target_pos = Vector(target.location) if hasattr(target, 'location') else Vector(target)
    direction = (target_pos - light_obj.location).normalized()
    light_obj.rotation_euler = direction.to_track_quat('-Z', 'Y').to_euler()

Helper: scene-aware light positioning

from mathutils import Vector

def compute_scene_bbox_center(meshes):
    """Average bbox center over a list of mesh objects (world space)."""
    import bpy
    deps = bpy.context.evaluated_depsgraph_get()
    all_verts = []
    for o in meshes:
        eval_obj = o.evaluated_get(deps)
        em = eval_obj.to_mesh()
        for v in em.vertices:
            all_verts.append(o.matrix_world @ v.co)
        eval_obj.to_mesh_clear()
    xs = [v.x for v in all_verts]
    ys = [v.y for v in all_verts]
    zs = [v.z for v in all_verts]
    center = Vector(((min(xs)+max(xs))/2, (min(ys)+max(ys))/2, (min(zs)+max(zs))/2))
    extent = max(max(xs)-min(xs), max(ys)-min(ys), max(zs)-min(zs))
    return center, extent

Recipe 0a — Subject-CLASS-aware three-point lighting (use this for orchestrator E2E)

Generic three-point lighting (Recipe 0b below) places lights at fixed energy ratios. That works for opaque subjects (chair, sword) but breaks for glass (rim washes out volume tint) and is too cool for wood (loses warmth).

Pass a subject_class hint to tune the setup:

Class Key:Fill:Rim ratio Key color temp Reason
'metal' 4:1:2 (default) warm 3200K Standard 3-point reads metallic well
'glass' 3:1:1.2 neutral 5500K Soft rim — strong rim WASHES OUT volume tint; brighter fill so transmission shows colour
'wood' 4:1:1.5 warm 3000K Warmer key brings out wood tones; less rim (wood doesn't need silhouette boost)
'fabric' 3:1:0.5 neutral 5500K Soft and balanced; sheen reads in fill light
'skin' 4:1:1 warm 3500K Warm key for healthy tone; subtle rim (avoids harsh edges on faces)
'product' 5:1:1.5 neutral 5000K Higher contrast; commercial/clean look
(unspecified) falls back to Recipe 0b (default) warm 3200K
import bpy, math
from mathutils import Vector

def aim_at(light_obj, target):
    target_pos = Vector(target.location) if hasattr(target, 'location') else Vector(target)
    direction = (target_
Полный SKILL.md на GitHub

Установить blender-lighting в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash
mcp__blender__execute_blender_code
mcp__blender__get_scene_info
mcp__blender__get_object_info
mcp__blender__get_objects_summary
mcp__blender__get_object_detail_summary
mcp__blender__render_viewport_to_path
mcp__blender__search_api_docs
mcp__blender_official__execute_blender_code
mcp__blender_official__get_objects_summary
mcp__blender_official__get_object_detail_summary
mcp__blender_official__render_viewport_to_path
mcp__blender_official__search_api_docs

Вложенные файлы

evals/evals.jsonreferences/overview.md

FAQ

Что делает скилл blender-lighting?

Light Blender scenes professionally — three-point setups, HDRI environments, studio/cinematic/dramatic configurations, light groups, color temperature, soft vs hard shadows. Use whenever the user asks to "light the scene", "set up lighting", "make it look cinematic / dramatic / studio / outdoor / sunset", "add a key light", "use HDRI", or any lighting-related request. Make sure to use this skill even if the user does not say "light" — also covers "make it look professional", "studio shot", "moody atmosphere", "golden hour", "rim light". Pairs with blender-materials (lighting reveals materials) and blender-cameras (lighting + composition together = shot).

Как установить скилл blender-lighting?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл blender-lighting запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить blender-lighting с