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
Available Models
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”
- “cyberpunk, neon lights, futuristic”
- “fantasy, magical, ethereal glow”
- “vintage photograph, sepia tones”
- “minecraft screenshot, blocky voxel terrain”
Parameters Reference
Prompt Scheduling
Smoothly transition between prompts using weighted entries:linear and slerp interpolation. With slerp, transitions are smooth and organic.
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
Enable only the ControlNets you need. Each one adds some processing overhead.
Recommended Combinations
IP Adapter (Style Transfer)
Apply the style of a reference image to your video:- Enable IP Adapter in the Inspector
- Set a style image URL — this sets the visual style
- Adjust scale (0.0-1.0) — higher = stronger style
- Choose type:
regular— General style transferfaceid— Face-specific (SDXL only)
Weight Types
The IP Adapter supports multiple weight interpolation types: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
- Installation - Setup guide
- Scripting API - C# scripting and programmatic control
- ControlNets Tutorial - Deep dive into ControlNets
- Parameters Reference - Full parameter documentation