Rough glass isn't working properly in blend material

Component:YafaRay Core
Category:bug report
Assigned:David Bluecame

Rough glass isn't working while using blend material combination - it results in completely black material with no diffuse. Check the file below: 

blend_rough_glass.blend240.78 KB



The blend material doesn't work properly. 

  • The middle sphere is a blend material between the left and right, with blend value set to 0.0, so it should look exactly like the left one, but it does not. All intermediate blend values are also behaving wrong.

The middle sphere should look like the left


  • When using a texture to blend, there are some artifacts at the material bordering regions. It's most expressed with DL.


This was rendered with revision 545 of the experimental version.

The blend material is an important feature of Yafaray, so fixing this should take pecedence over new features.

Check out the appended test scene.

AttachmentSize 266.94 KB


Status:active» duplicate

The example from the initial bug report is still happening. Even when I'm not sure if it's the same problem, I believe this is probably related to the bug  so I'm marking this as duplicate, but if a fix is found for the other, I'll check whether it fixes this bug or not.


Status:duplicate» active

Correction: after investigating further, this is a different issue so I'm marking it as "active" again.

Looks like the Rough Glass material does not have the interface functions needed to integrate it in the blend material. This will require quite some work.


Assigned to:Anonymous» David Bluecame


Status:active» ready to commit

The first problem (rough glass black when used in a blend material) will be fixed in the next YafaRay-E version.

I could not replicate the second problem, it was probably fixed already at some point in time.


Status:ready to commit» fixed

Fixed in v3.0.0-beta:


Status:fixed» closed

Closing as it was marked as "fixed" for 4 weeks without any further comments from users.