Skip to main content

Unity Plugin Features

The Daydream Unity plugin brings the full power of StreamDiffusion to your Unity projects.

Real-Time AI Transformations

Transform your camera output in real-time using stable diffusion models:
  • Turn your 3D scene into an anime world
  • Apply painterly effects (oil painting, watercolor)
  • Create cyberpunk or sci-fi aesthetics
  • Generate abstract visualizations
Just enter a prompt and watch your scene transform!

Available Models

Start with SDXL Turbo (stabilityai/sdxl-turbo) for the best balance of quality and speed.

Prompt Tips

Good prompts make great effects. Here are some examples: Style-Based:
  • “anime character, vibrant colors”
  • “oil painting, impressionist, brush strokes”
  • “watercolor illustration, soft colors”
  • “pixel art, retro game style”
Theme-Based:
  • “cyberpunk, neon lights, futuristic”
  • “fantasy, magical, ethereal glow”
  • “vintage photograph, sepia tones”
  • “minecraft screenshot, blocky voxel terrain”
Negative Prompts: Add things to avoid: “blurry, low quality, distorted, ugly”

Parameters Reference

Prompt Scheduling

Smoothly transition between prompts using weighted entries:
This blends 70% anime with 30% oil painting. Choose between linear and slerp interpolation. With slerp, transitions are smooth and organic.
When using prompt scheduling, the simple Prompt field is ignored. Leave the schedule array empty to use the simple prompt.

Seed Scheduling

Control randomness while maintaining smooth transitions:

ControlNets

ControlNets preserve structure from your input video while applying AI effects.

Available ControlNets

Default Configuration

The plugin ships with three ControlNets pre-configured for SDXL:

Using ControlNets

Adjust the Conditioning Scale slider for each ControlNet:
  • Lower (0.2-0.4): More creative freedom
  • Medium (0.4-0.6): Balanced (recommended)
  • Higher (0.6-0.8): Strong structure preservation
Each ControlNet also supports Guidance Start/End to control which timesteps it applies to.
Enable only the ControlNets you need. Each one adds some processing overhead.

IP Adapter (Style Transfer)

Apply the style of a reference image to your video:
  1. Enable IP Adapter in the Inspector
  2. Set a style image URL — this sets the visual style
  3. Adjust scale (0.0-1.0) — higher = stronger style
  4. Choose type:
    • regular — General style transfer
    • faceid — Face-specific (SDXL only)

Weight Types

The IP Adapter supports multiple weight interpolation types:
IP Adapter works best with SDXL models. Use style transfer weight type for the strongest visual style influence.

Similar Image Filter

Skip processing when frames are nearly identical to reduce compute:

Display Options

Set showOverlay to false to disable the built-in overlay and render the AI output on any surface using OutputTexture.

Performance Optimization

Resolution

Start with 512x512 for best performance. You can increase to 768 or 1024 if your connection allows.

Network

  • Stable internet connection required
  • 5+ Mbps upload recommended
  • Wired connection preferred over WiFi

Render Pipeline

The plugin uses a ScreenSpaceOverlay Canvas, which works identically across URP, HDRP, and Built-in pipelines. No extra configuration needed.

Troubleshooting

Choppy Output

  • Reduce resolution
  • Use SD Turbo instead of SDXL
  • Disable unused ControlNets
  • Check network stability

Washed Out Colors

  • Reduce guidance scale
  • Add “vivid colors” to your prompt
  • Enable Depth ControlNet at 0.4-0.5

Too Much Flickering

  • Enable Depth ControlNet
  • Reduce delta value
  • Add “consistent” to your prompt

Next Steps