1
$\begingroup$

I have come across this issue before in other projects, and I just move the light around, so I cannot see the reflection emitted from a light source. I have seen videos like this https://www.youtube.com/watch?v=9IjEXE70ujI go to time 1:25. But when I try it, nothing disappears. The only way I am able to get the reflection to disappear is if I uncheck transmission in the ray visibility section. But I have found that if I'm working with anything transparent, then the light doesn't go through the object anymore. As you can see the glass ball has light going through it landing on the P key, but I can see the light source in the reflection, and after I turn off transmission it will disappear, and you can see the window now but the hint of light that was passing through the glass also disappears.

enter image description here enter image description here

$\endgroup$
1
$\begingroup$

A cheat:

Scene setup is a glass ball with Principled BSDF, Transmission of 1, an area light, and a primitive plane.

Here's rendered view:

enter image description here

You can add a plane with a Transparent BSDF between the glass ball and the object to have light cast on it, in this case the floor.

enter image description here

Then set your light to Use Nodes.

enter image description here

In the shader graph we can specify that for a Transparent Depth less than one (.9 actually, non-inclusive?) we emit no light.

enter image description here

Now we can see that the plane is giving us some problems, so we have to disable Camera ray visibility for the transparent plane.

enter image description here

What this leaves us with is basically all of the light that goes through the plane, and it's taken the light source out of the glass.

enter image description here

With a slight modification we can take out that giant white chunk at the top, and I believe we've mostly achieved the goal. You should have decent control over where the refracted light is allowed to show.

enter image description here

enter image description here

To get the effect you want in your scene you might have to crank the wattage up. We're totally torturing this light, so any arguments about conservation of energy went out the window long ago anyway.

$\endgroup$
9
  • $\begingroup$ All these little boxes, I think they are called nodes, what are they applied to. And if I did, that would the light source still be seen through the object if the ball is between the camera and the light. $\endgroup$ Jul 6 at 0:45
  • $\begingroup$ ibb.co/vqYvjv9 As you can see, I made the light circle, so it wouldn't blend in with the reflection of the window in the background. But that gave me an idea, so I just made multiple lights and made them the same size as each window lowered the emission and used an area light to control the spread of the shadow. So since I couldn't get the lights to disappear, the decoy lights covered for the circle light that I was trying to hide. ibb.co/vXvVBQ4 $\endgroup$ Jul 6 at 0:45
  • $\begingroup$ The light itself, in the light properties there's a button to use nodes. $\endgroup$ Jul 6 at 0:48
  • $\begingroup$ So are you saying I would have to place another transparent plane between the ball and the keyboard or the ball and the camera or the ball and the light? im confused what the orange lines are and the angle of everything im not sure where the extra transparent plane would go or the camera in respect to the model you set up $\endgroup$ Jul 6 at 0:48
  • $\begingroup$ alright, I can set it up like your scene, just discovered a small problem anyway $\endgroup$ Jul 6 at 2:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.