Game Development Community

castRay inconsistencies in generating texture coordinates - LOGGED

by Maxim Ivanov · in Torque 3D Professional · 09/28/2010 (1:45 pm) · 1 replies

"Container::castRayBase" in SceneObject.cpp has optimized branch on not-optimized. One of them has
"RayInfo ri; ri.generateTexCoords = info->generateTexCoords;" and another (optimized one) has only "RayInfo ri;" which cause sometimes texture coordinates not to be generated.