Problem with my glass material?

Hi all.
I’m still very new with Blender, and I’ve run into a problem that I cant seam to solve myself.

I’m just playing around with an interior shot, but i have a problem with letting the sun light pass through my windows.
As you can see in the screen shot, it shows up correctly in the 3D view, but when I render it no light is entering the room from the outside. I’m using a sun lamp and you can see my glass material in the note editor. I also noticed that it says 0/2 lamps in the top corner (Marked with red), has that got anything to do with it? I’ve got another lamp set up, but not showing, the light from the wall lamp is from an emission material. I’ve tried with an sphere with emission material outside as well, but that dosnt work either, so I’m thinking it’s my glass material thats the problem?


Hope you guys can help me out here :slight_smile:

No one can tell me what I’m doing wrong??

Post the blend file so someone can take a look, the pic you posted is too low res to see the node setup

Sorry, here is a close up of the node setup:


Without seeing the blend, hard to know. But when I have things looking correct in viewport render, and then I actually render and they don’t match, 9 times out of 10 there are objects that either are or not set to visible in viewport, and not in render. Check your outliner to make sure everywhere there is an eyeball, there is a camera on the right. (and vice versa) Failing that, post the blend. good luck.

move the fresnel output to the fac of the mix shader!

happy cycles

Omg, how embarrassing this is… :o

I used Cylinders to create the round windows, and did hide them right after I made the windows and forgot all about them. So the cylinders where still stuck in the windows, but I diddnt notice because they where hidden. Deleted them and the light shines through the glass as it’s suppose to.
Thanks a lot for your help guys, Ramboblender for trying also to help via PM and and blenderallday for making me check the outliner where I noticed the hidden objects.
Next time I’ll just put the .blend file up, so you guys can help me faster.

Have a great day all :slight_smile:

Been there, banging my head.