Announcement

Collapse
No announcement yet.

Potential Bug: Invisible Lights + Refractive Material with Opac

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

  • Potential Bug: Invisible Lights + Refractive Material with Opac

    I noticed that invisible lights were affecting my material wrong, so I built a simple scene to confirm. In this scene, the foreground light is invisible, but is affecting how the Opacity channel works. Seems like the Opacity only works in the light-occupied area.
    Have a look, curious if anyone has a work around. In my actual scene, I have a bag that is partially clear and partially semi-opaque. To acheive it without it taking forever, I used a combo of Opacity and Refraction.

    Here's a simplified example scene. You can see if you move the light around, The opacity is only working in the lights screen-space.
    Any Thoughts Appreciated...

    Attached Files
    -Joel E
    https://www.biglittlepictures.com

  • #2
    Welp, it does seem to be a bug. For some reason, light has to pass through a camera and a light in front of the camera to calculate the opacity map properly. So as a solution, I added a "bugfix" light in front of the camera which is linked to the camera with almost no actual intensity contribution ... and it fixes the bug. So basically, if you make a "bugfix" light at .01 intensity it fixes the problem. But if you make it 0 or hide the light, the problem returns.

    Weird stuff.
    -Joel E
    https://www.biglittlepictures.com

    Comment

    Working...
    X