Rewrite materials with alpha
#include <s3d.h>
int s3d_pep_materials_a(int object, const float *mbuf, uint16_t n);
Alters the last n pushed materials. See s3d_push_materials_a() for more information how mbuf should look like. Use s3d_pep_material_a() if you only want to alter the latest material.
Simon Wunderlich
Author of s3d