Skip to content
Back to skills

Cinematic Scene Rendering

ASecurity

Build or improve the lighting, PBR materials and staging of a 3D scene from a brief, reference, local models or an existing Blender file. Use for believable surfaces, daylight or practical lighting, editable Blender Cycles renders or a self-hosted interactive Three.js scene.

  • 5,448 stars
  • 0 votes
  • 1 copy
  • 4 views
  • Added December 5, 2026
ai-agentspythonshellangularnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add nexu-io/opengame --skill cinematic-scene-rendering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cinematic Scene Rendering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cinematic Scene Rendering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nexu-io-cinematic-scene-rendering/badge)](https://www.skillsdirectory.com/skills/nexu-io-cinematic-scene-rendering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cinematic-scene-rendering
description: Build or improve the lighting, PBR materials and staging of a 3D scene from a brief, reference, local models or an existing Blender file. Use for believable surfaces, daylight or practical lighting, editable Blender Cycles renders or a self-hosted interactive Three.js scene.
---

# Cinematic scene rendering

Start with what the viewer should notice at the intended camera distance. Record three decisions in ordinary language: the subject and its scale, the source that can plausibly light it, and the surface response that sells it. A rainy street, a face next to a window and a ceramic product in a studio need different answers.

## Publish an interactive scene

From the skill folder, run `node scripts/web.mjs --demo --out ./web-study`, or replace `--demo` with `--source ./asset.glb`. This path uses Node and the OpenGame installation’s Three.js dependency. It works without Blender. For a detached skill folder, install `three@0.183.2` once in that folder or a parent. Use a self-contained GLB with embedded buffers and textures; export without Draco, Meshopt or KTX2 compression. Add `--environment ./studio.hdr` to use local HDR reflections and `--title "Scene name"` to set the page title.

Serve the result with `python3 -m http.server 8000 --bind 127.0.0.1 --directory ./web-study` and open `http://127.0.0.1:8000/`. Upload the same output directory to a static host. The page ships its own Three.js modules and assets. Drag to orbit, scroll or pinch to zoom, and double-click to return to the original view.

To carry a Blender lighting study into the browser, add `--web-glb` to the Blender command below, then run `node scripts/web.mjs --source ./canister-study/scene.glb --out ./web-study`. Keep the exported `scene.glb` and `scene.world.hdr` together. The page builder picks up the World lighting and background automatically. The GLB carries the active camera, orbit target, PBR materials, punctual lights and an approximation of rectangular emitters. The browser renders the meshes under real-time lights. For procedural surfaces that lose their pattern or roughness when exported, add `--bake-web-object "Object name"` to the Blender command. Repeat for another object. Each selected opaque static mesh needs one Principled material and its own mesh data. The exporter gives it a separate atlas and bakes connected base color, roughness, metalness and tangent normals to embedded textures. `--web-bake-size 1024` sets the pixels per side. The offline render and saved Blender materials stay editable. Cycles bounce lighting, volumetrics, compositor effects and cloth simulations need separate baking or real-time treatment. [Compare the same scene across renderers](references/finish.md)

## Render an offline study

With Blender 4.5 LTS on the path, run the included offline study. In the OpenGame checkout or application bundle, the complete skill is in `skills/openmotion-game/cinematic-scene-rendering/`. You can also copy that folder on its own. Run the command from inside the skill folder and choose a new output directory. If Blender is installed outside PATH, invoke its executable by full path. Commands below use a POSIX shell; on Windows use the same arguments with the installed Blender executable.

```sh
blender --background --factory-startup --python-exit-code 1 \
  --python scripts/stage.py -- \
  --demo --rig studio --ground --alternate --out ./canister-study
```

This makes an editable `scene.blend`, `hero.png` and a second view. Substitute `--source ./model.glb` for `--demo` to use your asset. For an existing set, use `--source ./set.blend --subject "Hero" --rig keep --keep-camera` to retain its lights, framing and output aspect. Add `--alternate-camera "Side view"` to render a second authored camera in the same run. Select a subject object, parent or collection by name. The starter frames evaluated mesh bounds at the current frame. For a moving subject, inspect its extreme poses as well.

An existing scene may also have linked libraries, videos or simulation caches. Keep those dependencies alongside the delivered project and reopen it from its delivery folder.

Use `studio` for broad controlled reflections, `window` for a directional opening with sky fill, and `practical` for a small warm emitter against a cooler environment. Each is an editable starting setup. On an existing set a replacement rig mutes the previous lamp objects in the output copy. Material emission still contributes. The window starter supplies light; place an actual opening and external scenery if the camera will see through it. For open environments, weather, mixed sources or complex architecture, build the lighting in the scene and choose `keep`.

## Build the set around the shot

1. **Block the camera and depth.** Anchor the hero to a receiver, establish one foreground or side cue, and choose what can be seen beyond the subject. Set scale before beveling edges, picking texture repeats or sizing light sources. For a room, model the opening, jamb depth and a plausible background at its own distance. For a street, establish the horizon and pick which windows or fixtures actually emit.
2. **Choose assets at their viewing distance.** A hero needs silhouette, thickness, contact and natural edge radii. Repeated midground surfaces can share a measured texture set. A background can use simple shapes or a plate as long as camera travel supports it. Use authored, generated or appropriately licensed assets; keep the origin, units, UV scale and included texture maps with the scene. If a generation workflow already supplied a GLB, import it directly.
3. **Light a gray version first.** Move and size the emitter until the shadow direction, penumbra and composition read. In direct sun, use a Sun for parallel shadow rays and an opening or blockers to shape the footprint. With practical lights, put the source at the visible fixture. Establish exposure for the hero and check that the brightest important surface still has shape. Then restore the materials.
4. **Separate surfaces by what they reflect.** Inspect one close-up containing two different materials. A metal edge needs something bright to reflect; a dark woven sleeve needs a broad, subdued response. Give glaze, thread, bare alloy, paint and dirt separate responses where the object calls for them. Scale texture detail by the real material and its projected size. [Material setup and assets](references/materials.md)
5. **Compare the same shot, then move.** Lock frame, exposure and display transform while comparing versions. Check contact, brightest detail, dark-side shape and whether edges stay attached while orbiting or zooming. Render a short moving sample before spending a full animation budget. Inspect pixels at delivery size. Keep the useful camera, lights, materials and packed resources in the editable file. [Offline and interactive checks](references/finish.md)

The sample is a portable starting point for an asset on a stage. For a complete environment, build the set and its motivated sources around the supplied brief, then test that same environment from another camera.

Files in this skill

  • SKILL.md7 KB
  • agents/openai.yaml339 B
  • references/finish.md2.9 KB
  • references/materials.md3.7 KB
  • scripts/lookdev_materials.py2.8 KB
  • scripts/stage.py10.2 KB
  • scripts/web.mjs4.6 KB
  • scripts/web_bake.py7.5 KB
  • scripts/web_stage.py3.3 KB
  • web/index.html891 B
  • web/viewer.mjs7.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.