Jump to content

Web Browser


mint3d

Recommended Posts

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 ?

Link to comment
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 ?

Link to comment

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...