-
Notifications
You must be signed in to change notification settings - Fork 79
1. Home
Having used the official version of WebBrowser of UE, I have a feeling that WebBrowser only provides basic functions, and often cores in complex environments, opening web pages will slow down the game frame rate, and animation and video playback will not be able to do anything. Therefore, it cannot be used in large-scale applications. The official website still needs to be optimized in this regard. Recently, the product needs to use a lot of UE as the 3D rendering scene, and then use JS as the UI, so that the product can be developed efficiently and easy to use. At the beginning, I also used the official WebBrowser to load the JS page. After loading the 2K webpage in the UE empty scene, the game frame rate dropped to less than 60 frames. This kind of performance cannot be applied at all. So later, I tried various browser plug-ins including BLUI, WebUI, etc., all of which could not meet the requirements. Later, I found the WebView browser plug-in, which solved the problem.
Global download [address ]: https://github.com/aSurgingRiver/WebView
Problems solved by WebView When the main thread of the engine has heavy tasks, it will cause the browser to freeze. When JS sends a large number of messages to the UI engine, the engine will freeze. When the UE occupies a high GPU, it will cause the browser to freeze. When loading multiple pages with animations or videos, UE will freeze. When the browser renders a large screen, it will cause the UI frame rate to slow down.
WebView is an enterprise browser plugin designed for Virtual Engine. It uses many advanced technologies. It doesn't drop frames while browsing the web or watching videos. The kernel takes the latest CEF version and optimizes it. It has GPU binding function, supports the separation of game and browser rendering, and increases the rendering cache inside the plug-in, and the rendering effect is smooth. In terms of communication with web pages, V8 technology is used to make Unreal Engine interact with web pages in real time. It is recommended to use Unreal Engine to render the scene and use JavaScript for UI interaction, which can greatly improve the efficiency of system development.
Facebook:https://www.facebook.com/ue.webview
- Support H264 and h265 protocols
- Various video sites like youtube and BiliBili
- Webrtc access cloud rendering
- Webrtc Online Voice and Video
- H5, HTTPS, CSS and JavaScript
- UE4 and JavaScript call each other
- Mouse event transparent background page, mouse penetration transparency can be adjusted
- Right-click page navigation
- Debug JavaScript with chrome tools
- Mouse drag
- Input method conversion
- ctrl+wheel zoom page
- Efficient rendering of page animations
- Load custom protocol on web page like SVN
- 8K video at 60fps, no frame loss
- GPU binding separates virtual engine and browser rendering