Robokrusher Harvester

 

 

 

 

 

 

 

 

Made with vi


I wrote a utility that takes a terrain texture and generates a special mipmapped DDS file with all levels fading to black at the edges in such a way that summing the centers of the mips always adds up to 100% RGB for the four overlapping pixels. This allows me to generate intermediate LOD terrain textures on the fly using only summing. It's fast, every terrain quad gets a unique texture, and only one texture per quad need be transferred to the graphics card.