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
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?
%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?
About the author
Torque Owner Stefan Lundmark