Edge of Atlas + Shadow = Crash
by Jeremiah Fulbright · in Torque Game Engine Advanced · 12/16/2007 (3:55 pm) · 1 replies
I had gotten a report from a team member about some crashes on edges of maps. I got to looking and it seems that its crashing because its doing a shadow render, but if you're on the edge of atlas or possibly falling off of the terrain, it will crash..
GFXD3DDevice::setActiveRenderSurface - Cannot have an active render target bound to a texture sampler!
I'm not sure how to fix this, since theres not necessarily a way to tell if we're going to actually project onto something or not, is there?
Any help would be greatly appreciated!
GFXD3DDevice::setActiveRenderSurface - Cannot have an active render target bound to a texture sampler!
I'm not sure how to fix this, since theres not necessarily a way to tell if we're going to actually project onto something or not, is there?
Any help would be greatly appreciated!
Torque Owner Jeremiah Fulbright