---
name: "s3d_pep_material_a"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3d_pep_material_a"
---

# s3d\_pep\_material\_a(3)

rewrite material with alpha

## NAME

s3d\_pep\_material\_a - rewrite material with alpha

## SYNOPSIS

```
#include <s3d.h>
```

**int s3d\_pep\_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

Overwriting the latest pushed material, overwriting the current value with the specified one, with alpha value in contrast to s3d\_pep\_material See s3d\_push\_materials\_a if you want to pep more materials.

## AUTHOR

**Simon Wunderlich**

Author of s3d
