PhysicallyBasedMaterial
A material that simulates the appearance of real-world objects.
PhysicallyBasedMaterial is used in scenarios where realistic rendering is required. This material simulates how light interacts with surfaces based on physical properties, resulting in highly realistic visuals.
Use cases:
AAA games that require realistic environments and character models.
Architectural visualization to create lifelike representations of buildings and interiors.
Film and animation production where high-quality rendering is essential.
Virtual reality (VR) and augmented reality (AR) applications that demand immersive and realistic visuals.
Material Property Blending:
PhysicallyBasedMaterial allows for the blending of different material properties to achieve the desired visual effect. The PropertyValue and TextureResource are combined using a multiplicative blending mode. This means that the final appearance of the material is the result of multiplying the property value with the texture color. This blending mode helps in creating more dynamic and visually interesting effects by combining uniform values and detailed texture information. Allowing for flexible customization and control over the material's appearance. These properties may be represented by different data types, such as linear color, floats, to accommodate various material characteristics.
Types
The companion object of PhysicallyBasedMaterial.
Functions
Gets the ambient occlusion value of the PhysicallyBasedMaterial.
Gets the ambient occlusion texture of the PhysicallyBasedMaterial.
Gets the base color of the PhysicallyBasedMaterial.
Gets the base color texture of the PhysicallyBasedMaterial.
Gets the blending mode of the PhysicallyBasedMaterial.
Gets the MaterialCullingMode of the PhysicallyBasedMaterial.
Gets the state of depth testing for the material.
Gets the state of depth writing for the material.
Gets the emissive color of the PhysicallyBasedMaterial.
Gets the emissive texture of the PhysicallyBasedMaterial.
Gets the metallic value of the PhysicallyBasedMaterial.
Gets the metallic texture of the PhysicallyBasedMaterial.
Gets the name of the PhysicallyBasedMaterial.
Gets the normal scale of the PhysicallyBasedMaterial.
Gets the normal texture of the PhysicallyBasedMaterial.
Gets the opacity of the PhysicallyBasedMaterial.
Gets the fill mode for rendering polygons in the material.
Gets the roughness of the PhysicallyBasedMaterial.
Gets the roughness texture of the PhysicallyBasedMaterial.
Sets the ambient occlusion value of the PhysicallyBasedMaterial.
Sets the ambient occlusion texture of the PhysicallyBasedMaterial.
Sets the base color of the PhysicallyBasedMaterial using a color value.
Sets the base color of the PhysicallyBasedMaterial using a texture.
Sets the blending mode of the PhysicallyBasedMaterial.
Sets the MaterialCullingMode of the PhysicallyBasedMaterial.
Enables or disables depth testing for the material.
Enables or disables depth writing for the material.
Sets the emissive color of the PhysicallyBasedMaterial.
Sets the emissive texture of the PhysicallyBasedMaterial.
Sets the metallic value of the PhysicallyBasedMaterial.
Sets the metallic property of the PhysicallyBasedMaterial using a texture.
Sets the normal scale of the PhysicallyBasedMaterial.
Sets the normal texture of the PhysicallyBasedMaterial.
Sets the opacity of the PhysicallyBasedMaterial.
Sets the fill mode for rendering polygons in the material.
Sets the roughness value of the PhysicallyBasedMaterial.
Sets the roughness of the PhysicallyBasedMaterial using a texture.