 |
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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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