Channel Packing

Channel packing is extremely common in game engines these days, however was not available to Cogwheel Chronicles until now.

I’ve adopted the ‘MRA/RGB’ pattern, in that the PBR metalness texture is stored in the Red channel of the ‘packed gloss’ texture, roughness/gloss goes into the green channel and baked AO into the blue channel.

Three textures now packed into one, saving video memory during game play. PBR textures can still be authored separately, the engine can upload these and pack them appropriately on run.


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.