S3D_PEP_MATERIAL(3)

✨ S3D_PEP_MATERIAL ✨

okay so bestie, welcome to the s3d manual, section 3 πŸ’… we're gonna talk about s3d_pep_material and honestly? it's giving glow-up energy. let's go πŸ¦‹


🌸 NAME 🌸

s3d_pep_material β€” rewrite material ✨


πŸŽ€ SYNOPSIS πŸŽ€

#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);

πŸ’– DESCRIPTION πŸ’–

So like. This function overwrites the latest pushed material β€” meaning it takes the current value and just straight up replaces it with the one you specified. no cap, that's the whole vibe. πŸ‘‘

if you wanna pep more than one material, go look at s3d_pep_materials_a instead. iykyk 😌

πŸ‘‘ AUTHOR πŸ‘‘

Simon Wunderlich Author of s3d 🌈


and that's the whole page, babe β€” that was section 3 of the s3d manual, from the s3d source, same version, same date as always. mwah πŸ’‹ go forth and pep responsibly 🫢✨