GPUOpen-LibrariesAndSDKs / RadeonProRenderSDK

AMD Radeon™ ProRender is a powerful physically-based path traced rendering engine that enables creative professionals to produce stunningly photorealistic images.
https://gpuopen.com/radeon-prorender-suite/
Other
220 stars 46 forks source link

[HybridPro] Support for material faces #72

Open Derpius opened 1 year ago

Derpius commented 1 year ago

I have a large static mesh made up of a number of submaterials which I'm attempting to apply using rpr::Shape::SetMaterialFaces. This throws RPR_ERROR_UNSUPPORTED when using the HybridPro backend.

I can work around this by splitting the mesh by material into separate shapes at runtime, but material faces seem like the best way to do this (and makes the code a lot cleaner).