DOKK / manpages / debian 11 / s3d-doc / s3d_pep_material.3.en
S3D_PEP_MATERIAL(3) s3d Manual S3D_PEP_MATERIAL(3)

s3d_pep_material - rewrite material

#include <s3d.h>

int s3d_pep_material(int object, float amb_r, float amb_g, float amb_b, float spec_r, float spec_g, float spec_b, float diff_r, float diff_g, float diff_b);

Overwriting the latest pushed material, overwriting the current value with the specified one. See s3d_pep_materials_a if you want to pep more materials.

Simon Wunderlich

Author of s3d
s3d