Weird mix material behaviour

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Weird mix material behaviour

Post by wasd »

Matte material without mix node
wemi1.png
~
Mix node, 100% matte material
wemi2.png
~

When using mix node with any translucent material I get this very unexpected behaviour (like on the second image).
When mixing with non-translucent I get no unexpected um... unexpectedness (like the first image).

You have to add some hdr as lighting.
edit: There should be certain angle of direct light, so I've added the second file with sun lamp
weird_mix2.zip
(483.11 KiB) Downloaded 109 times
Attachments
weird_mix.zip
(522.61 KiB) Downloaded 98 times
CPU Bidir + Metropolis | Core i5-4570
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Weird mix material behaviour

Post by B.Y.O.B. »

Does it also happen if you render on CPU?
I remember there was some difference between OpenCL and CPU regarding transparent materials + mix material.
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: Weird mix material behaviour

Post by wasd »

B.Y.O.B. wrote: Mon Jan 21, 2019 7:40 pm Does it also happen if you render on CPU?
I remember there was some difference between OpenCL and CPU regarding transparent materials + mix material.
I only render on CPU, so yes, it happens when I render on CPU.
CPU Bidir + Metropolis | Core i5-4570
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Weird mix material behaviour

Post by B.Y.O.B. »

My bad, sorry, I read "RT Path OCL" in your screenshot for some reason.
Post Reply