• render.RenderView on 3D2D
    5 replies, posted
How would I use render.RenderView on 3D2D? I suppose creating a render target and drawing the render target?
You have to render the view to a render target and then draw the rendertarget on the 3d2d cam. [editline]28th August 2011[/editline] You should also not use your own rendertarget, you can just use the ones that are already used for bloom.
Can you give an example? I haven't really needed/used render targets before. Update: Was able to get the Gmod RT material to display onto a 3D2D display. Just have to figure out how to make a new RT and set it to a material.
Bump.
that? [b][url=http://wiki.garrysmod.com/?title=Render.SetMaterial]Render.SetMaterial [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
[QUOTE=matyas;32055737]that? [b][url=http://wiki.garrysmod.com/?title=Render.SetMaterial]Render.SetMaterial [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b][/QUOTE] No.
Sorry, you need to Log In to post a reply to this thread.