• Using a camera in VGUI
    3 replies, posted
Hello. I was just wanting to know if there was a way to have the background in VGUI as a fixed camera in a specific place on a map. In my case I am creating a car customisation panel but I would like to have the background as a camera pointing inside a workshop.
Maybe this could help you [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/render/RenderView]render.RenderView[/url]
there was the rt camera [url]https://steamcommunity.com/sharedfiles/filedetails/?id=106944414[/url] you could display the rt camera on your screen, you could edit this to display on the panel somehow
Return your own CamData on the CalcView hook [url]http://wiki.garrysmod.com/page/GM/CalcView[/url] [url]http://wiki.garrysmod.com/page/Structures/CamData[/url]
Sorry, you need to Log In to post a reply to this thread.