Jump to content
OpenGL API Specifications
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
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)
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.