mint3d Posted August 11, 2015 Posted August 11, 2015 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 ?
Moderators IIYAMA Posted August 11, 2015 Moderators Posted August 11, 2015 the createBrowser function returns a dynamic texture, which you can render with a 3D render function near the object. Using: dxDrawMaterialLine3D
mint3d Posted August 12, 2015 Author Posted August 12, 2015 How do I make a texture into a shader, I am like really confused ?
mint3d Posted August 12, 2015 Author Posted August 12, 2015 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 ?
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