Jump to content
Posted 28 September 2013 - 11:01 AM
Posted 28 September 2013 - 12:50 PM
Such textures could easily be programmatically generated at run-time (or load-time), however, having all those extra textures will consume texture-memory that could otherwise be used for more interesting stuff.
It might be technically feasible to write a fragment-shader which applies the border, my knowledge of shaders is insufficient to know whether this is feasible or efficient.
Another possibility is to vectorise the outline of the building and just overdraw it on the billboards, which again, could be automated and might not be too bad for efficiency (as a bonus, you may get a higher quality, it would smoothly change rather than suddenly changing)