Runtime Preview Generator
Introductory price.. Not! It will always remain Free. Grab it whenever you want!
Abo ...
by yasirkula
★★★★★ star rating
Price History +
Introductory price.. Not! It will always remain Free. Grab it whenever you want!
About
This plugin helps you generate preview textures (thumbnails) for your GameObject's or materials on the fly.
Features
- Supports perspective and orthographic projections
- Supports transparent background
- Customizable preview direction and background color
NOTE: GenerateMaterialPreviewWithShader and GenerateModelPreviewWithShader functions aren't supported on URP/HDRP.
FAQ
- Rendered thumbnail is empty, why?
If shouldIgnoreParticleSystems parameter is set to false, child particle systems of the model may force the camera to zoom out a lot. Or, on SRPs, your Forward Renderer asset's Opaque Layer Mask and/or Transparent Layer Mask might be excluding layer 22 (preview objects are temporarily assigned to this layer).
- Rendered thumbnail doesn't look correct, why?
If there are lighting issues and you're generating thumbnails in Awake, try Start instead. Otherwise, try disabling post-processing effects and see if it makes any difference. If it does, then you should temporarily disable post-processing while capturing thumbnails.
Older Versions
For older versions of Unity, you can download the plugin from GitHub. Supports at least Unity 5.6.
Forum Thread | GitHub Page | Documentation | Discord
GitHub Sponsors ☕