[lua]function GM:RenderScene()
render.Clear(0, 0, 0, 255)
local pos, ang = LocalPlayer():GetPos() + Vector(0,0,500), Angle(90,0,0)
cam.StartOrthoView(0, 0, 512, 512)
render.RenderView{
origin = pos,
angles = ang,
x = 0, y = 0,
w = ScrW(), h = ScrH()
}
cam.EndOrthoView()
return true
end[/lua]
That’s the code I have right now, and it’s not working, it still renders everything in a good old boring perspective view. I’m pretty much sure that’s because RenderView overrides the camera, since you have to input the position and angle of the rendering camera, so would there be any way to get it to render an orthogonal view?