Game Development Community

RenderPassManager scaling bug

by Anthony Rosenbaum · in Torque 3D Professional · 04/25/2013 (5:42 am) · 5 replies

Ok here is the situation, we have placed the GameTSCtrl inside a container

%guiContent = new GuiControl(PlayGui) {
...
   new GameTSCtrl(PlayGuiCtrl) {
...
  }
}

This allows us to re scale the render window, which works for the most part.

However if glow or transparency is in the scene we get a weird rendering side effect. When the GameTSCtrl is scaled it looks like there is a scaled down rectangle within the GameTSCtrl. Within that rectangle everything renders properly. If I go into the GUI editor and rescale the GameTSCtrl the interior rectangle also scales. It looks like the glow/translucent/shadow buffers scaling is off. Note this only occurs around glowy things, and is most prominent when the sun is below horizon.


Any ideas?

#1
04/25/2013 (7:23 am)
Yeah I ran into this as well.. I'll see about digging up a fix. I don't think the actual bug was in RenderPassManager but I could be mistaken.
#2
04/25/2013 (3:55 pm)
Thanks any help would be great
#3
04/26/2013 (6:13 am)
Found our issue it seems we had some conflicting code which was resizing the canvas two different times with different methods
#4
04/26/2013 (7:15 am)
false alarm we still have the rendering flaw
#5
04/26/2013 (12:53 pm)
Oscar Velzi also had this issue a while back.