osnapitzjamie Posted August 11, 2015 Share Posted August 11, 2015 alirght so I've setup a browser that attaches its self to a wall. The problem is the YouTube video is very low FPS. The game FPS is fine. function webBrowserRender() if (getElementData(getLocalPlayer(), "cinema") == "yes") then setBrowserVolume(webBrowser, 0.25) else setBrowserVolume(webBrowser, 0) end local x, y = 110.7, 1024.15 dxDrawMaterialLine3D(x, y, 23.25, x, y, 14.75, webBrowser, 18.2, tocolor(255, 255, 255, 255), x, y+1, 19) end function startRender() loadBrowserURL(webBrowser, "http://projectreality.cf/astro.html") addEventHandler("onClientPreRender", root, webBrowserRender) end addEventHandler("onClientBrowserCreated", webBrowser, startReder) Link to comment
anumaz Posted August 11, 2015 Share Posted August 11, 2015 CEF is still not optimized to the max. It may lag sometimes... Link to comment
Moderators IIYAMA Posted August 11, 2015 Moderators Share Posted August 11, 2015 Try to render with lower resolution, if your pc can't handle it. This should be optional for the user experience. Link to comment
Callum Posted August 11, 2015 Share Posted August 11, 2015 I tried a web browser in 1920x1080 and it was really sluggish and slow. Changing it to 800x600 made it run nice and smoothly. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now