Jump to content

Web Browser


mint3d

Recommended Posts

Posted

How can I attach a web browser to a world object ? So I don't need a gui to control it I can simply control it from a world object and stuff. Hard to explain what I mean but like how can I make it simply just attach to a world object instead of gui ?

Skype: Jordan_Nymph

  • Moderators
Posted

the createBrowser function returns a dynamic texture, which you can render with a 3D render function near the object.

Using:

dxDrawMaterialLine3D

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

Shaders.

engineApplyShaderToWorldTexture 

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted
function test (shader, texture) 
local myShader = dxCreateShader( "hello.fx" ) 
dxSetShaderValue( myShader, "texure0", webBrowser )   
engineApplyShaderToWorldTexture( myShader, "drvin_screen" ) 
end 
addEventHandler("onClientResourceStart", getRootElement(), test) 

Would it be something like this ?

Skype: Jordan_Nymph

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...