# Rendering Media

The Editor uses a unified reference renderer for the live **Render Window**, still image exports, and video or PNG sequence exports driven by the [Timeline](https://developer.playcanvas.com/user-manual/supersplat/editor/timeline.md). Reference renders always sort by distance and evaluate every spherical harmonic band in the scene.

:::important

Both images and videos are rendered entirely locally on your device. No render data or splat information is uploaded to any external server.

:::

## Getting Started

To render from your splat:

1. Open your splat in the [SuperSplat Editor](https://superspl.at/editor).
2. Position your camera for the desired view (for images) or set up camera animations on the [Timeline](https://developer.playcanvas.com/user-manual/supersplat/editor/timeline.md) (for videos).
3. Click the `Render` menu in the menu bar and open **Render Window** to configure output size, lens effects, and sampling, or choose **Image...** or **Video...** to export directly.

## Render Window

The **Render Window** (`Render > Render Window`) shows a live reference render of the current camera view while the viewport stays interactive underneath. It can float inside the Editor or pop out into its own browser window (using **Open in New Window** and **Dock in Editor** in the title bar).

[Image: The Render Window showing the preview canvas on the left and render settings on the right]

The output size, camera lens, and sampling settings you choose here are shared by **Image** and **Video** exports, and lens settings are saved with the project.

- **Top bar:** **Render Now** triggers a render immediately; **Auto** (on by default) automatically re-renders after the view or settings settle.
- **Preview toolbar:** Shows the current output dimensions and zoom percentage, with **Fit**, **1:1**, and **Download PNG** buttons. Scroll to zoom about the cursor and drag to pan.
- **Output:**
  - **Size:** Choose `Fit Window`, `Viewport`, `HD` (`1920×1080`), `QHD` (`2560×1440`), `4K` (`3840×2160`), or `Custom` (up to `16000` pixels per side).
  - **Resolution:** Editable width and height when **Size** is `Custom`.
  - **Portrait:** Swaps width and height for preset sizes (`HD`, `QHD`, `4K`).
- **Camera:** Mirrors the document's **Field of View**, **Tone Mapping**, and **Anti-Aliasing** controls from [Preferences](https://developer.playcanvas.com/user-manual/supersplat/editor/interface.md#preferences).
- **Depth of Field:** Enable to blur content away from the focus plane:
  - **Aperture:** Lens f-number from `f/0.7` to `f/64` (default `f/2.8`; lower values blur more). Drag sideways, scroll, or use arrow keys to step in third stops, or click to type a value.
  - **Focus Distance:** Distance in world units to the plane in focus; leave empty to follow the **Orbit target**.
- **Motion Blur:** Enable to blur an animated camera's motion along its [Timeline](https://developer.playcanvas.com/user-manual/supersplat/editor/timeline.md) track:
  - **Shutter Angle:** Degrees of each frame the shutter stays open (`0°`–`360°`, default `180°`).
- **Sampling:** Choose adaptive quality (**Auto: Draft**, **Auto: Normal**, **Auto: High**) or a fixed sample count (`16`, `32`, `64`, `128`, or `256 samples`).

## Image Rendering

Image rendering creates a single high-quality frame from your current camera position.

### Image Settings

When you select `Image` from the Render menu, a dialog will appear with settings to customize your image:

[Image: The Image Settings dialog]

- **Projection:** Choose the type of image to render:
  - `Standard` (default) - A regular flat image rendered from the camera's point of view
  - `360° Equirectangular` - A monoscopic 360° panorama capturing the full sphere around the camera's position
- **Preset:** For `Standard`, displays the output size inherited from the [Render Window](https://developer.playcanvas.com/user-manual/supersplat/editor/rendering.md#render-window) (change it there). For `360° Equirectangular` (2:1 aspect ratio), choose `1024x512`, `2048x1024`, `3840x1920` (default), `4096x2048`, `7680x3840`, `8192x4096`, or `Custom`.
- **Resolution:** Shown for `360° Equirectangular` when `Custom` is selected, letting you enter custom width and height values.
- **Format:** Choose the output image format:
  - `PNG` (default) - Lossless output with transparency support
  - `JPEG` - Smaller, lossy output for photographs and sharing
  - `WebP` - Lossless WebP output with transparency support
- **Quality:** Only shown for `JPEG`. Set the JPEG quality from 1 to 100 (default 90).
- **Transparent Background:** If checked, the rendered image will have a transparent background instead of the scene's background color. Useful for compositing over other content; unavailable for JPEG.
- **Level Horizon:** Only shown for `360° Equirectangular` projection. If checked (the default), the image stays level and follows only the camera's heading. If unchecked, the camera's full orientation (including pitch) is baked into the image.

### Rendering the Image

Once you've configured your settings:

1. Click the `Render` button.
2. The image will be rendered at the current camera position.
3. In browsers that support the File System Access API, choose a filename and location in the system save dialog. In other browsers, the image downloads automatically using the selected format's extension.

The suggested filename uses the project name when one is set, otherwise the first visible splat's name, and finally `supersplat` if neither is available. Invalid filename characters are removed. You can change the name in the save dialog before writing the file.

## Video Rendering

Video rendering creates an animated sequence using camera animations from the Timeline. Any [splat sequences](https://developer.playcanvas.com/user-manual/supersplat/editor/timeline.md#splat-sequences) advance with the Timeline, so each video frame shows the matching frame of every sequence.

### Video Settings

When you select `Video` from the Render menu, a dialog will appear with several settings to customize your video:

[Image: The Video Settings dialog]

- **Projection:** Choose the type of video to render:
  - `Standard` (default) - A regular flat video rendered from the camera's point of view
  - `360° Equirectangular` - A monoscopic 360° video that can be viewed on YouTube, in VR headsets and in 360°-capable players like VLC
- **Resolution:** For `Standard`, uses the output size from the [Render Window](https://developer.playcanvas.com/user-manual/supersplat/editor/rendering.md#render-window) (rounded to even pixel dimensions, including **Portrait** orientation when enabled there). For `360° Equirectangular` (2:1 aspect ratio), choose `1024x512`, `2048x1024`, `3840x1920` (default), `4096x2048`, `7680x3840`, or `8192x4096`.
- **Format:** Choose the output format:
  - `MP4` (default) - Most widely compatible format, ideal for general use
  - `WebM` - Open format, excellent for web use
  - `MOV` - Apple QuickTime format, ideal for professional video editing workflows
  - `MKV` - Flexible open container format supporting various codecs
  - `PNG Sequence` - Writes each frame as a numbered lossless PNG file into a folder you choose (available in browsers that support the File System Access API; prompts before replacing existing frames)
- **Codec:** Choose the video codec for compression (hidden for `PNG Sequence`). Available options depend on the selected format:
  - For MP4 and MOV: `H.264` (default), `H.265/HEVC`
  - For WebM: `VP9` (default), `AV1`
  - For MKV: `H.264` (default), `H.265/HEVC`, `VP9`, `AV1`
- **Frame Rate:** Choose from `12 fps`, `15 fps`, `24 fps`, `25 fps`, `30 fps` (default), `48 fps`, `60 fps`, or `120 fps` (hidden for `PNG Sequence`).
- **Bitrate:** Choose `Low`, `Medium`, `High` (default), or `Ultra` (hidden for `PNG Sequence`).
- **Frame Range:** Specify the start and end frames from the Timeline to include. By default, the entire Timeline is rendered.
- **Level Horizon:** Only shown for `360° Equirectangular` projection. If checked (the default), the video stays level and follows only the camera's heading, which is generally the most comfortable to watch. If unchecked, the camera's full orientation (including pitch) is baked into the video.
- **Transparent Background:** Only shown for `PNG Sequence`. Renders each PNG frame with a transparent background for compositing.

:::note Resolution availability

The dialog checks which resolutions your browser and device can actually encode with the current codec, frame rate, and bitrate. Unsupported resolutions are disabled in the dropdown and marked "Not supported", and if your current selection is unsupported the `Render` button is blocked with a message suggesting the highest supported lower resolution. High resolutions such as 8K are only available on hardware whose video encoder (and GPU texture size limit) can handle them; try a lower frame rate or bitrate, another codec or format, or a different browser if an option you need is unavailable.

:::

### Rendering the Video

Once you've configured your settings:

1. Click the `Render` button.
2. The Timeline pointer will animate through all frames until video encoding is complete.
3. In browsers that support the File System Access API, choose a filename and location in the system save dialog. In other browsers, the video downloads automatically.

:::tip Browser Recommendation for Video Rendering

Chromium-based browsers (Chrome and Edge) give the best results for video. They support the [File System Access API](https://caniuse.com/native-filesystem-api), so the video is streamed to disk while it encodes instead of being held in memory, which allows much longer and larger renders. Browsers without it must buffer the whole video in memory and deliver it as a download when encoding completes.

:::

### 360° Video Rendering

Setting the `Projection` option to `360° Equirectangular` renders a monoscopic 360° video instead of a regular flat one. For every output frame, the full sphere around the camera's position on the [Timeline](https://developer.playcanvas.com/user-manual/supersplat/editor/timeline.md) is captured into a 2:1 equirectangular frame.

YouTube's embedded player presents this 360° video as a flat video, so open the example on YouTube to drag the view, use your phone's motion controls or watch it in a headset:

[▶ Look around in 360° on YouTube](https://www.youtube.com/watch?v=6oGjT8eubMc)

Some things to keep in mind when rendering 360° video:

- `MP4` and `MOV` videos are tagged with spherical video metadata, so YouTube, VR headsets and players like VLC automatically detect and play them as 360° video. `WebM` and `MKV` videos are not tagged, so some players may need to be told that the video is 360°.
- `MP4` and `MOV` 360° videos are held in memory while rendering (the spherical metadata is added once encoding completes), so long renders at high resolution use more memory than standard renders.
- A 360° render takes roughly six times longer than a standard render of the same length, because the scene is rendered once for each of the six directions around the camera for every output frame.

You can render 360° still images in the same way: set the `Projection` option in the [Image Settings](https://developer.playcanvas.com/user-manual/supersplat/editor/rendering.md#image-settings) dialog to `360° Equirectangular`. The panorama is captured from the current camera position and saved as a 2:1 equirectangular image in the selected PNG, JPEG, or WebP format.

## Tips

- **For 360° Videos:** The camera animation drives the viewer's position through the scene. Slow, smooth camera movement is much more comfortable to watch in a VR headset than rapid motion.
- **Compositing and Post-Production:** Choose `PNG Sequence` with **Transparent Background** in **Video Settings** when you want lossless, frame-by-frame alpha output to composite in an external video editor.
