Game Development Community

cell spicific texture render issue

by TrapHouseGaming · in Torque 3D Beginner · 08/22/2018 (12:35 am) · 1 replies

https://hostr.co/file/H9XcFHD7FxAC/Capture.PNG
texture on the right is the proper working texture on a glitch free cell, the left is the bugged cell with its texture.
textures are 1024x1024 .png files

Has anyone delt with this before?

About the author

long time torque player, decent at scripting and modeling, no good at textures, I primarily work with milkshape and blender. Follow progress on my shitty lil game: https://discord.gg/qsXb9CG


#1
08/30/2018 (12:39 pm)
so, a recompile of the engine has solved my texture issue, but now just prior to my recompile this happens:
https://hostr.co/file/970/KY3tY7crp4Ih/Capture.PNG
that's two separate terrain objects, one which I've trimmed with the clear terrain tool to seam well with my other terrain. the black is cleared terrain that should not be visible. The black terrain also has physics, so i don't think this is render related.
The bug persisted even after the recompile. It happened while painting terrain textures and seems to be related to the editor's undo function. Once I start laying down textures again the black cleared terrain returns after I'd use the undo hotkey, and only goes away until I undo back to where I was prior to painting.
wondering if there is an issue in regards to overlaying multiple terrain objects or an issue with terrains of different resolutions.

EDIT: so somehow I corrupted my terrain heightmap to fix it I just used the clear terrain tool again to replicate my old map. I've also set the cleared terrain to 0 height, so even if this happens again ill only need to clear the areas visible during gameplay such as cave entrances.
https://hostr.co/file/970/LQoJrPYZNupl/Capture.PNG