Announcement

Collapse
No announcement yet.

VrayFur + opacity + environment = Bug

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VrayFur + opacity + environment = Bug

    I've recently been working on a lot of projects with carpets.
    My workflow is using vrayfur, it does the job well.
    There is one bug that is extremely annoying and inconvenient

    When vrayfur has a shader with vrayhairinfotx opacity map to soften the fur and the scene uses an environment map or even environment color, the result is broken.
    It took some time to track down what causes it, but I tracked it down to vraybackground.

    So here is a render with no opacity for fur
    Click image for larger version

Name:	tzSGjGr.jpg
Views:	1
Size:	50.7 KB
ID:	886000
    Here the opacity is turned on
    Click image for larger version

Name:	xwkoB7Z.jpg
Views:	1
Size:	127.0 KB
ID:	886001
    here is the vraybackground element.
    Click image for larger version

Name:	6aAworR.jpg
Views:	1
Size:	55.5 KB
ID:	886002

    There is a solid box below the fur, so there is no way environment background should affect the opacity.
    At the moment the workaround is to remake the scenes so there is no environment map.

    If you change the environment to anything else, the color of the problem changes, but it still stays there (try disabling the map in sample scene)
    Here is a sample scene.
    opacity_bug.zip

  • #2
    According to my tests disabling Embree for hair should give you a better result. Can you confirm it is the same on your end?
    Miroslav Ivanov
    Chaos Cosmos

    Comment


    • #3
      Confirmed - turning Embree off for hair does solve the problem.
      Thanks!

      Comment


      • #4
        Actually, turning Embree off altogether solves the problem, while turning it off for hair still leaves about 5% of fireflies.

        Comment


        • #5
          You are reaching the max transparency level and the tips of the hairs return the background color, which is VRaySky thus making them glowing. You can raise the "max transp levels" in Global switches to deal with this.
          Last edited by matanov; 01-12-2016, 01:53 PM.
          If it was that easy, it would have already been done

          Peter Matanov
          Chaos

          Comment


          • #6
            That seems to do it thank you!

            Is returning the background color the best choice in this case? It seems to give very unexpected results.

            Comment


            • #7
              Originally posted by viscorbel View Post
              Is returning the background color the best choice in this case?
              Probably not. There are a few options and we will probably change that eventually.

              Best regards,
              Vlado
              I only act like I know everything, Rogers.

              Comment

              Working...
              X