10
2019
EditorScript: HDR Outline for WorldSpace UI Panel using LineRenderer
Needed hdr outline for ui panel, so here’s small editor helper script to assign linerenderer points around UI panel:
https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Editor/ContextMenu/CreateOutlineForPanelEditor.cs
*Note: i’m using UI always on top shader for the panel (it fixes the linerenderer z-fight issue, but also needed it for this project to display UI elements always on top) https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/UI/UI_Always_On_Top.shader
Related Posts
1 Comment + Add Comment
Leave a comment
Recent posts
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
UI default shader with HDR
https://github.com/SenshiSentou/UIGlow/blob/master/DefaultHDR.shader