GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
480 stars 56 forks source link

RPR Forgets material when object is instanced on non mesh objects #614

Open jombo23 opened 1 year ago

jombo23 commented 1 year ago
  1. System setup (GPU, CPU, OS version, Blender version) Win11, Vega64, xeon e5 2696v4, blender 3.5.0

  2. Blend file of the setup prorendergeonodes.zip

  3. What the expected behavior or effect is. If possible include the error message.

In the scene provided, I have drawn two lines. One is a NURBS curve, the other is a simple plane that I've deleted three of the sides off of, and then extruded the vertices off the ends to create a "curve".

Using geometry nodes, a sphere object with a basic material with a base color of AMD Red is instanced on the points of both curves.

The curve made of an actual mesh produces the expected results, with the sphere being placed at each of the vertices on the curve.

The curve which is an actual non mesh NURBS curve, however, clears the material off of the object, and no amount of applying set material in geometry nodes will fix it.

Steps to Reproduce

Scene provided above, simply open the file and flip between RPR and cycles/eevee. this happens in the viewport as well as when doing a render. Have a look under the instanced objects geometry nodes for the extremely basic example.

Extra related info

Ticking "As Instance" makes the material work again, until "Realize Instance" is used, at which point, the materials are cleared again.

Renders provided: Note the second curve of spheres not being rendered by RPR*

Eevee: Eevee Render

Cycles: Cycles Render

ProRender: ProRender Render