Game Development Community

Terrain Texture Replacer Runtime

by Robert Stewart · in Torque Game Engine · 09/25/2005 (5:11 pm) · 2 replies

I'm trying to replace textures at runtime, or dynamically. I think I should work from void TerrainRender::renderBlock or void PaintMaterialAction::process. I need to put up a resource(RTS Unit editor in the works for RTSKit users), so I will definetly release this as a resource if anyone wants it. So any ideas or suggestions?

#1
09/25/2005 (5:14 pm)
Hmm just looked around and found this void TerrainEditor::materialUpdateComplete() that looks like it the perfect spot to work from.
#2
09/25/2005 (5:28 pm)
Good luck! :)

Note you might be in the unenviable position of having to reupload several megs of texture data depending on what sort of change you're trying to effect.