---
Product: Aspose.3D
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/net/pbrmaterial
---

# PbrMaterial

## Overview

`PbrMaterial` is a class in Aspose.3D FOSS for .NET.
Inherits from: `Material`.

Material for physically based rendering based on albedo color/metallic/roughness

This class provides 14 methods for working with PbrMaterial objects in .NET programs.
Available methods include: `A3DObject`, `FindProperty`, `FromMaterial`, `GetEnumerator`, `GetProperty`, `GetTexture`, `PbrMaterial`, `RemoveProperty`, `SetProperty`, `SetTexture`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: `Albedo`, `AlbedoTexture`, `EmissiveColor`, `EmissiveTexture`, `MapAmbient`, `MapDiffuse`, and 13 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Transparency` | `double` | Read/Write | Gets or sets the transparency factor. |
| `NormalTexture` | `TextureBase` | Read/Write | Gets or sets the texture of normal mapping |
| `SpecularTexture` | `TextureBase` | Read/Write | Gets or sets the texture for specular color |
| `AlbedoTexture` | `TextureBase` | Read/Write | Gets or sets the texture for albedo |
| `Albedo` | `Vector3` | Read/Write | Gets or sets the base color of the material |
| `OcclusionTexture` | `TextureBase` | Read/Write | Gets or sets the texture for ambient occlusion |
| `OcclusionFactor` | `double` | Read/Write | Gets or sets the factor of ambient occlusion |
| `MetallicFactor` | `double` | Read/Write | Gets or sets the metalness of the material, value of 1 means the material is a metal and value of 0 means the material is a dielectric. |
| `RoughnessFactor` | `double` | Read/Write | Gets or sets the roughness of the material, value of 1 means the material is completely rough and value of 0 means the material is completely smooth |
| `MetallicRoughness` | `TextureBase` | Read/Write | Gets or sets the texture for metallic(in R channel) and roughness(in G channel) |
| `EmissiveTexture` | `TextureBase` | Read/Write | Gets or sets the texture for emissive |
| `EmissiveColor` | `Vector3` | Read/Write | Gets or sets the emissive color |
| `MapSpecular` | `string` | Read | Used in GetTexture/SetTexture to assign a specular texture mapping. |
| `MapDiffuse` | `string` | Read | Used in GetTexture/SetTexture to assign a diffuse texture mapping. |
| `MapEmissive` | `string` | Read | Used in GetTexture/SetTexture to assign a emissive texture mapping. |
| `MapAmbient` | `string` | Read | Used in GetTexture/SetTexture to assign a ambient texture mapping. |
| `MapNormal` | `string` | Read | Used in GetTexture/SetTexture to assign a normal texture mapping. |
| `Name` | `string` | Read/Write | Gets or sets the name. |
| `Properties` | `PropertyCollection` | Read | Gets the collection of all properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `PbrMaterial()` | Construct a default PBR material instance |
| `PbrMaterial(albedo: Vector3)` | Construct a default PBR material with specified albedo color value. |
| `FromMaterial(material: Material)` | Allow convert other material to PbrMaterial  The source material A new PbrMaterial instance |
| `GetTexture(slotName: string)` | /// |
| `SetTexture(slotName: string, texture: TextureBase)` | Sets the texture to specified slot. |
| `ToString()` | Formats object to string. |
| `GetEnumerator()` | Gets the enumerator to enumerate internal texture slots. |
| `A3DObject()` | Initializes a new instance of the A3DObject class with no name. |
| `A3DObject(name: string)` | Initializes a new instance of the A3DObject class. |
| `RemoveProperty(property: Property)` | Removes a dynamic property. |
| `RemoveProperty(property: string)` | Remove the specified property identified by name |
| `GetProperty(property: string)` | Get the value of specified property |
| `SetProperty(property: string, value: object?)` | Sets the value of specified property |
| `FindProperty(propertyName: string)` | Finds the property. |

## See Also
- [Aspose.3D for .NET — Enterprise API Reference](https://reference.aspose.com/3d/net/aspose.threed.shading/pbrmaterial/)