- YEBIS for Unity Document
WIP
YEBIS off | YEBIS on |
---|---|
YEBIS for Unity is the Unity plugin provides a variety of middleware "YEBIS" real-time post effects to scenes.
We call image effects of YEBIS post effects
- Import YEBIS.unitypackage
Assets > Import Package > Custom Package... > YEBIS.unitypackage
- Select MainCamera from Hierarchy
- Add YEBIS Component
Component > YEBIS > YebisPostEffects
- Open Inspactor window and check the box of YebisPostEffects
Currently YEBIS for Unity supports some Graphics APIs.
- DirectX11 (Windows 64bit)
- OpenGLCore (Windows/MacOSX 64bit)
- OpenGLES3 (Android/iOS)
- OpenGLES2 (Android/iOS)
You can use DirectX11 and OpenGLCore as Unity of the Windows version.
Unity use DirectX11 in Windows version default setting.
So Graphics APIs setting is not necessary for Windows version YEBIS plugin.
If you need to change GLCore API,
- Open Player Settings
Edit > Project Settings > Player - Uncheck the "Auto Graphics API for Windows"
Settings for PC, Mac & Linux Standalone > Other Settings > Auto Graphics API for Windows - Click "+" and select "OpenGLCore", then drag "OpenGLCore" to the top
- Open Player Settings
Edit > Project Settings > Player - Uncheck the "Auto Graphics API for Mac"
Settings for PC, Mac & Linux Standalone > Other Settings > Auto Graphics API for Mac - Click "+" and select "OpenGLCore", then drag "OpenGLCore" to the top
- Open Player Settings
Edit > Project Settings > Player - Uncheck the "Auto Graphics APIs"
Settings for Android or Settings for iOS > Other Settings > Auto Graphics API - Click "+" and select "OpenGLES3" or "OpenGLES2", then drag it to the top
If you select "OpenGLES2" the post effects are limited due to the difference of APIs.
- If you check "HDR" box of Main Camera, post effects of YEBIS are processed in high quality HDR mode.
- If you select OpenGLES2, YEBIS are always processed in non-HDR mode.
- If you select OpenGLES3 and the runtime device does not support 16bit floating texture format, YEBIS are processed in non-HDR mode.
- There are differences in the appearance of post effects between HDR and non-HDR (ex. luminance of Glare effect)
- Check Enable YEBIS.
- Check Enable FXAA.
- Uncheck Auto Exposure.
- You can change the scene exposure directly by changing the value of Exposure.
- Check Auto Exposure.
- You can change the target brightness of Auto Exposure by changing the value of Middle Gray.
- Change the value of Middle Gray. Middle Gray is the target brightness.
- GLES2 is not supported
- Check Enable Glare.
- Specifying higher values increases glare quality.
- Set the glare shape from preset types.
Type | Glare Shape |
---|---|
BLOOM | Only bloom |
LENSFLARE | Bloom / ghost(lens flare) / afterimage GLES2 is not supported |
STANDARD | The standard type including a good balance of all basic elements |
CHEAPLENS | Sharp ghosting and other representations of a cheap lens |
AFTERIMAGE | Very strong afterimage GLES2 is not supported |
FILTER_CROSSSCREEN | Cross screen filter. Lens with generator of cross-shaped star filter attached |
FILTER_CROSSSCREEN_SPECTRAL | Cross screen filter with strong spectrum. Lens with generator of cross-shaped star filter with strong spectrum attached |
FILTER_SNOWCROSS | Snow cross filter. Lens with generator of star filter in six directions attached GLES2 is not supported |
FILTER_SNOWCROSS_SPECTRAL | Snow cross filter with strong spectrum. Lens with generator of star filter with strong spectrum in six directions attached GLES2 is not supported |
FILTER_SUNNYCROSS | Sunny cross filter. Lens with generator of star filter in eight directions attached GLES2 is not supported |
FILTER_SUNNYCROSS_SPECTRAL | Sunny cross filter with strong spectrum. Lens with generator of star filter with strong spectrum in eight directions attached GLES2 is not supported |
HORIZONTALSTREAK | Horizontal flare. This lens flare type produces strong horizontal star streaks. Simple anamorphic lens flare effect |
VERTICALSTREAK | Vertical flare. Strong star streaks in the vertical direction. Smears for CCD digital camera, etc |
- You can change the overall brightness of the glare effect by changing the value of Luminance.
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- Check Enable DoF.
- Specifying higher values increases the depth-of-field effect quality.
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported
- GLES2 is not supported