Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume Scatter bug #664

Open
Under-J opened this issue Dec 24, 2023 · 0 comments
Open

Volume Scatter bug #664

Under-J opened this issue Dec 24, 2023 · 0 comments

Comments

@Under-J
Copy link

Under-J commented Dec 24, 2023

Issue

Volume Scatter node (maybe any volume node?)) isn't working as expected when using multiple materials, each with its own volume, on an object.

Steps to Reproduce

  1. Assign a material with volume on a part of an object.
  2. Assign another material with a different volume on another part of the same object.
  3. Render

System Setup (Environment)

RTX 4070 12GB, i5-10400, Windows 11, Blender 3.5.1, RPR v3.6.9

Detailed Description

Make it match Cycles.

Cycles, expected results:

Cycles

RPR results show that the first volume item in the Active Material overrides all other volumes and even materials with no volume. If you rearrange the order of the materials, it affects the volume of the entire object.

RPR, bad results, half of cube (it is really 2 cubes joined, so 1 cube), its volume is pink, the other one is blue, but with RPR both are pink.
RPR 1 fix

If i separate them by material they work fine. just as expected:
RPR 2 fix

Another detail is that if there is another material without Volume as the first material in the Active Material Index, the volume in the rest of the materials disappears.

Volume Bug 2.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant