The light is being reflected inside the bulb.How to fix it?

The light is being reflected inside the bulb.How to fix it?



I can't seem to find a solution for this problem
enter image description here
Is there any possible fix without affecting how the glass look like?



File:





$begingroup$
Please upload your .blend to blend-exchange.giantcowfilms.com
$endgroup$
– WhatAMesh
Sep 8 '18 at 15:30





$begingroup$
Can you find it now ?
$endgroup$
– A NASR
Sep 8 '18 at 15:38





$begingroup$
Yes, if no one else does I'll may have a look at it later, although it seems to me that it is expected but unwanted behaviour
$endgroup$
– WhatAMesh
Sep 8 '18 at 16:05





$begingroup$
The only correct solution is to keep the reflection...
$endgroup$
– John Dvorak
Sep 8 '18 at 23:26




3 Answers
3



To implement this, you just have to ensure that the light from the filament is not bouncing off or interacting with too many surfaces (in technical terms 'bounces').In our case, if the light from the filament comes through the front of the bulb, it means the emission ray from the filament is converted to transmission ray (at the front portion of bulb) and reaches camera. Which means 2 bounces. But in the case of the additional reflections, the bounces are more.



So all we have to do is, make the rays which have more than 2 bounces invisible. We can get this bounce information from 'Ray depth' of 'Light path' node.



Ray Depth is the Number of times the ray has “bounced”, i.e. been reflected
or transmitted on interaction with a surface.



In material node editor, Shift+A and Input>Light path. Also, we can get the 'greater than' operation from math node. Shift+A, Converter>Math and change the operation in the drop down menu to 'greater than'.



Check out the following node setup for emission material of the filament.You can do the same for the rest of the materials that are getting reflected.



enter image description here





$begingroup$
That's what i was looking for. Thank you so much.
$endgroup$
– A NASR
Sep 8 '18 at 18:17






$begingroup$
Happy to help :)
$endgroup$
– Teja
Sep 8 '18 at 18:20



You could try this setup, which is very similar to @Teja's but will not restrict the total bounces in the same way. In this scene, the bulb is seen in a mirror.



enter image description here



This says:'I dont want to hear from the element if its asked by a ray whose transmission depth is greater than 2, or it's being asked for a reflection'



Without the fix:



enter image description here



With the fix:



enter image description here



..but it's still not perfect.. if you looked at your bulb through a window, its filament would disappear.



It is Physically Right. Glass always reflect a little bit Reflection, Anyways here's a trick:



Use A Refraction BSDF instead of Glass BSDF.



enter image description here
Here's the Render:



enter image description here



Unrelated: I checked your Metal Shader, you added diffuse to it. Metal is 100% Gloss



Check: Blender Guru Tutorial For Metals





$begingroup$
Thank you .I have already tried using the "Refraction BSDF" but its not as good as the glass.
$endgroup$
– A NASR
Sep 8 '18 at 16:51





$begingroup$
Results are same I think (except Reflection), Anyway That's the Solution.
$endgroup$
– Shehroz Khan
Sep 8 '18 at 16:54



Thanks for contributing an answer to Blender Stack Exchange!



But avoid



Use MathJax to format equations. MathJax reference.



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Crossroads (UK TV series)

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế