GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
|Session Name:||By Grabthar's Hammer, What a Savings: Making the Most of Texture Memory with Sprite Dicing|
|Company Name(s):||Secret Lab|
|Track / Format:||Programming|
Did you know free users get access to 30% of content from the last 2 years?
|Overview:||Are your sprites making you run out of memory? A common problem facing games that use sprite animations is the amount of texture memory each frame uses, and this is a particularly serious constraint on mobile devices. To solve this, sprite packing and atlasing can be used to more efficiently make use of memory, but these solutions can lead to wasted space in atlases that can't be completely filled. Grabthar's Hammer is a tool the Secret Lab team wrote for the mobile port of 'Night in the Woods' that solves this problem in a more efficient way, by using sprite dicing to maximize atlas usage with minimal wastage. This session will present the technique, discuss how 'Night in the Woods' was adapted to use it, and how sprite dicing techniques can be taken further by using techniques from the world of video compression to get the largest number of sprites out of your memory budget.|