# Shadows through glass

**URL:** <https://forums.chaos.com/t/shadows-through-glass/13150>\
**Category:** Issues\
**Created:** [December 14, 2006, 10:19pm UTC](https://forums.chaos.com/t/shadows-through-glass/13150 "2006-12-14T22:19:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stain777](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Stain777](https://forums.chaos.com/u/Stain777)\
**Post date:** [December 14, 2006, 10:19pm UTC](https://forums.chaos.com/t/shadows-through-glass/13150/1 "2006-12-14T22:19:09Z")

</div>

I’ve read all of the threads relating to shadows passing through glass but can’t seem to get them to work.

[http://www.flickr.com/photos/47068118@N00/322520272/](http://www.flickr.com/photos/47068118@N00/322520272/)

The first thing that I tried was turning the “Affect shadows” button to “On”. I then walked through each of the light types, and shadow types to see if it would clear up. Depending on the shadow type they would either be too heavy, as shown, or disappear altogether.

I’m using IR/LC as the rendering method. _I apologize if I’m not giving you enough, or the right information but this is my first attempts with Vray._

About the scene: These tests are for a space that I’m working on and show etched glass, frosted glass, and clear glass against a dark walnut background. The shoes are placed in front and back of the glass as they will in the final scene.

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [December 14, 2006, 11:59pm UTC](https://forums.chaos.com/t/shadows-through-glass/13150/2 "2006-12-14T23:59:24Z")

</div>

you may want to read here  
[http://www.chaosgroup.com/forum/phpBB2/viewtopic.php?t=15386&highlight=caustics+glass](http://www.chaosgroup.com/forum/phpBB2/viewtopic.php?t=15386&highlight=caustics+glass)

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [December 15, 2006, 12:03am UTC](https://forums.chaos.com/t/shadows-through-glass/13150/3 "2006-12-15T00:03:47Z")

</div>

Make sure refractive GI caustics is on in the GI rollout.  
If its off then Affect shadows wont do anything

There is also a problem with glass mats in Multi/subobject materials  
**Known issues:**  
(\*) “Affect shadows” and “Affect alpha” options do not work for VRayMtl’s inside a Multi/subobject material. This will be fixed as soon as possible.

There was a fix that Lukx worked out, if you put the glass material in a vrayblendmtl as the base map then affect shadow would work.

---

<div class="post-metadata">

**Author:** ![Stain777](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Stain777](https://forums.chaos.com/u/Stain777)\
**Post date:** [December 15, 2006, 12:56am UTC](https://forums.chaos.com/t/shadows-through-glass/13150/4 "2006-12-15T00:56:31Z")

</div>

Morbid Angel:

Yes, that was the first thing that I read (though maybe not thoroughly enough) as I must have missed the settings that DaForce is referring to.

I rerendered the scene with the Reflective/Refractive buttons on in the GI area and got pretty much the same result.

Thanks for the help on this.

---

<div class="post-metadata">

**Author:** ![Stain777](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Stain777](https://forums.chaos.com/u/Stain777)\
**Post date:** [December 15, 2006, 12:58am UTC](https://forums.chaos.com/t/shadows-through-glass/13150/5 "2006-12-15T00:58:45Z")

</div>

> [@DaForce](#):
>
> There is also a problem with glass mats in Multi/subobject materials  
> **Known issues:**  
> (\*) “Affect shadows” and “Affect alpha” options do not work for VRayMtl’s inside a Multi/subobject material. This will be fixed as soon as possible.

I see, there’s still a problem with the app. I’ll just go forward with what I have then with the understanding that the shadows behind the glass will be incorrect.

Thanks for your help guys, much appreciated.

---

<div class="post-metadata">

**Author:** ![Stain777](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Stain777](https://forums.chaos.com/u/Stain777)\
**Post date:** [December 15, 2006, 1:10am UTC](https://forums.chaos.com/t/shadows-through-glass/13150/6 "2006-12-15T01:10:43Z")

</div>

Hmmm, interesting. I thought that it might be the fact that it’s a multi-sub material so I split the glass cube where the two kinds of glass changed. When I rendered it with single materials in place I got the same issue with shadowing.

---

<div class="post-metadata">

**Author:** ![DaForce](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/daforce/32/22846_2.png) [@DaForce](https://forums.chaos.com/u/DaForce)\
**Post date:** [December 15, 2006, 1:15am UTC](https://forums.chaos.com/t/shadows-through-glass/13150/7 "2006-12-15T01:15:37Z")

</div>

Hmm odd.. care to upload a basic version of your file with no textures just the glass materials and the back wall.  
Let me hac a quick look at it if you want.
