s3d_push_material_a
push material with alpha
- Provided by: s3d-doc (Version: 0.2.2.1-3build1)
- Source: s3d
- Report a bug
push material with alpha
#include <s3d.h>
int s3d_push_material_a(int object, float amb_r, float amb_g, float amb_b, float amb_a, float spec_r, float spec_g, float spec_b, float spec_a, float diff_r, float diff_g, float diff_b, float diff_a);
Same as s3d_push_material, but color has alpha value added. Use s3d_push_materials_a() if you have a lot of materials to push.
Simon Wunderlich