lindquist Messages: 33 Registered: March 2006 Location: Denmark
Member
I have a terrain editor, which uses alpha layers for texturing. Each alpha layer has one byte per vertex: 0-transparent ; 255-opaque.
I'm trying to implement a export method that collapses the layers into a single indexed png with the pixel index being the material index. a material map.
vertices that have semi-transparent layers pick the least transparent one.
I would personally dump the bytes in a binary blob, but I have request for the indexed png :/