0
$\begingroup$

i have a story, in which a ghost can only be seen through water, i was thinking about making a scene, where theres a water bottle, and you can only see the thing on the other side of the bottle, which is transparent

i've tried playing around with the light path enter image description here

and it sorta work, but i wanted it to be reverse, you can see the object through transparency but not the other way around enter image description here

so, i decided to change the location of the shader, top to bottom, and bottom to top enter image description here

and it sorta work, but the part thats supposed to be transparent becomes black, enter image description here

i've tried adding colour ramp and reverse the colour too(black to white, white to black), unfortunately same result. can anybody point me the issue here? kinda stuck.

edit in respond to Christopher Bennettenter image description here

$\endgroup$
2

1 Answer 1

1
$\begingroup$

Use Transmission Depth instead of Transparent (only works in cycles):

Transmission

Fyi - I made a pseudo "water material" for the plane - that explains the offset and the "waviness".

$\endgroup$
5
  • $\begingroup$ i did the same setup as you did, but why is it not working for me? am i missing smthing?(the plane on my file is fully transparent btw). please see the new added picture above $\endgroup$
    – DS177
    Commented Oct 24, 2022 at 6:49
  • 1
    $\begingroup$ It doesn't workd for fully transparent items (alpha=0). For your water material, instead of going fully transparent, use a Principled BSDF with the transmission set to 1. You can leave alpha at 1 and it will still be invisible. $\endgroup$ Commented Oct 24, 2022 at 12:14
  • $\begingroup$ omg!, that work! so i dont need to use transparent shader at all? $\endgroup$
    – DS177
    Commented Oct 24, 2022 at 16:37
  • 1
    $\begingroup$ The principled BSDF can make a purely transparent (and I mean invisible) plane by changing the Roughness to 0, the Transmission to 1 and the IOR to 1. Also, the default "white" in the basecolor box is a few shades darker than pure white - make sure to put the "whiteness" up all the way to make the plane truly invisible. $\endgroup$ Commented Oct 24, 2022 at 18:27
  • $\begingroup$ sorry for the late reply, but thanks man, that really helps $\endgroup$
    – DS177
    Commented Oct 25, 2022 at 17:14

You must log in to answer this question.

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