 |
PhysicallyBasedMaterialCreateMetalnessRoughnessImage Method |
CreateMetalnessRoughnessImage creates a new RawImageData with both metalness and roughness data stored in the same image
(metalness values are stored in the blue channel and roughness values are stored in the green channel).
This is needed for PhysicallyBasedMaterial to work correctly.
Namespace: Ab4d.SharpEngine.MaterialsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static RawImageData CreateMetalnessRoughnessImage(
RawImageData metalnessImage,
RawImageData roughnessImage
)
Parameters
- metalnessImage RawImageData
- RawImageData
- roughnessImage RawImageData
- RawImageData
Return Value
RawImageDataRawImageData with both metalness and roughness data stored in the same image
See Also