S3D_PUSH_MATERIAL_A(3)
π NAME π
<s3d_push_material_a> β push material with alpha, bestie β¨
π SYNOPSIS π
#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);
πΈ DESCRIPTION πΈ
Okay so like. It's the exact same energy as s3d_push_material, no cap β but the color has an alpha value added on top. That's literally it, that's the whole glow-up. π
Ambient, specular, diffuse β every single one of them gets its own _a now. Transparency? We have it. Sheer fabrics? We have it. The vibes are immaculate. π¦
And listen β if you've got a lot of materials to push, do not sit here calling this thing in a loop like a menace. Use s3d_push_materials_a() instead, it's the whole point, it's giving efficiency, it's giving main character. π
π AUTHOR π
Simon Wunderlich β Author of s3d π«Ά
s3d Β· S3D_PUSH_MATERIAL_A(3) Β· k bye bestie, go push some materials with alpha, you ate πβ¨
π¦ where this page comes from
- debian bookworm: s3d-doc 0.2.2.1-5 Β· GPL-2.0-or-later
- debian trixie: s3d-doc 0.2.2.1-7 Β· GPL-2.0-or-later
- ubuntu jammy: s3d-doc 0.2.2.1-3build1 Β· GPL-2.0-or-later
- ubuntu noble: s3d-doc 0.2.2.1-6build3 Β· GPL-2.0-or-later
- ubuntu questing: s3d-doc 0.2.2.1-7build1
- ubuntu resolute: s3d-doc 0.2.2.1-7build3 Β· GPL-2.0-or-later
- ubuntu stonking: s3d-doc 0.2.3-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms