2
$\begingroup$

I want to render a black colored glass and make light pass through it. But if I give the glass Nodes and Transparency Nodes it changes the color of the glass into transparently white. How can I keep the glass black and make light pass through it?

I don’t have a photo of it, but how it be done?

$\endgroup$
1
  • $\begingroup$ Reference image of desired result would be helpful. $\endgroup$
    – vklidu
    Commented May 1, 2023 at 9:21

2 Answers 2

2
$\begingroup$

For Cycles, that can be disabling shadow ray visibility:

enter image description here

$\endgroup$
1
$\begingroup$

You can use the light path node's camera output to control a mix shader's factor input. Then plug your glass shader into the second input and a transparent bsdf into the first input. This will make the object visible to the camera, but invisible to other surfaces, so effectively light will pass through it.

$\endgroup$
1
  • 1
    $\begingroup$ Thank You . I got the result it was very helpful $\endgroup$ Commented May 1, 2023 at 13:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .