# Frost glass material and Enviroment Map (Background)

**URL:** <https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594>\
**Category:** General\
**Created:** [January 3, 2024, 7:44am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594 "2024-01-03T07:44:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![petr\_frantis](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@petr\_frantis](https://forums.chaos.com/u/petr_frantis)\
**Post date:** [January 3, 2024, 7:44am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/1 "2024-01-03T07:44:44Z")

</div>

Hi guys,

I want the frost glass effect to appear on the background bitmap, which is inserted into the Environment map slot.  
I know easiest way how to do is Photoshop, but I belive that does exist way how to reach with VRAY 🙂

- In the scene is a in the Enviroment Map slot placed photo (bitmap)  
- In the scene is simple glass wall with Frost glass material (1)  
- The render does not show the expected blured effect (2)  
- If I place control box behind the glass wall, it does it work (3)

Thanks for ideas

Mira

 ![01.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/b/4/b40bb8978feb7c2e5757e1097926bce539abc607.jpeg)  
 ![02.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/c/c27fef13f372d80ff33c8ffd54a6108da749ea7b.jpeg)

 ![03.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/6/2/62d1f16c4b7a61a655fcb88401a007a862760c82.jpeg)  
 ![02.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/c/c27fef13f372d80ff33c8ffd54a6108da749ea7b.jpeg)  
 ![02.jpg](https://europe1.discourse-cdn.com/chaosprd/original/2X/c/c27fef13f372d80ff33c8ffd54a6108da749ea7b.jpeg)

---

<div class="post-metadata">

**Author:** ![Vizioen](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vizioen/32/59355_2.png) [@Vizioen](https://forums.chaos.com/u/Vizioen)\
**Post date:** [January 3, 2024, 9:28am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/2 "2024-01-03T09:28:27Z")

</div>

Well I don’t know exactly how env. background works or how it is positioned, but part of the frosted glass effect is that the further the objects is behind the glass the more blurred and less visible it becomes. So I’m not sure you’ll get it to work like you want as every pixel in the photo is just as far away from the camera. What you can do is just map the photo on a plane with the same dimensions and put it behind the glass (Tip: Put the bitmap in a VrayLightMtl for extra control over the brightness.)

---

<div class="post-metadata">

**Author:** ![vladimir\_krastev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vladimir_krastev/32/42177_2.png) [@vladimir\_krastev](https://forums.chaos.com/u/vladimir_krastev)\
**Post date:** [January 3, 2024, 11:23am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/3 "2024-01-03T11:23:33Z")

</div>

Hi, thanks for posting. I tested a default scene using our VRayMtl frosted glass pre-set and a hdri map in the environment tab.

 ![3dsmax_2024-01-03_13-22-09.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/9/2/9224799cda1480c4d9b5131883c61a71af9e5c21.jpeg) ![3dsmax_2024-01-03_13-18-26.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/f/c/fcb9a583d3c070c4c2efc91f77f77f898579c68f.jpeg)  
I am not sure if this is you setup exactly.  
If you can not figure it out on your own you could send your scene for review here or on the [support contact form](https://support.chaos.com/hc/en-us/requests/new).

---

<div class="post-metadata">

**Author:** ![petr\_frantis](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@petr\_frantis](https://forums.chaos.com/u/petr_frantis)\
**Post date:** [January 3, 2024, 12:15pm UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/4 "2024-01-03T12:15:57Z")

</div>

Thank you Vladimir for your quick response,  
this setup good work with _Spherical mapping type_. But I need use Coordinates: Environ → _Screen Mapping_.  
Or do you have other recommendation?

 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/5/05eb7ddf2c2621129d0dd5d2311cacdc65109d89.png)​

M.

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [January 4, 2024, 10:50am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/5 "2024-01-04T10:50:01Z")

</div>

You could workaround this by using a Camera Projection OSL node in the Environment slot instead of screen mapping. In the node’s settings: select the camera you wish to project from; make sure the aspect matches the aspect ratio of the loaded image; “project on back” should be active. Note that you will get different results between IPR and Production, though. Also, the result might be a bit skewed, because of the camera lens effect, however, this way it’s more realistic. Try it out.

---

<div class="post-metadata">

**Author:** ![petr\_frantis](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@petr\_frantis](https://forums.chaos.com/u/petr_frantis)\
**Post date:** [January 4, 2024, 3:59pm UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/6 "2024-01-04T15:59:47Z")

</div>

Thanks for the interesting advice.  
I don’t know much about OSL Maps. I tried it, but I have an error somewhere.​  
Could you please give me some more advice  
Thank you​

 ![image.png](https://europe1.discourse-cdn.com/chaosprd/original/2X/b/bf3fab8bb357c20b4ad2eb1a8cf434e5357dd08e.png) ![image.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/5/052ab21097354427f13c84c79638b7de0fb5e7ce.jpeg)​​

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [January 5, 2024, 9:13am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/7 "2024-01-05T09:13:55Z")

</div>

Make sure the Color RGB component of the Camera projection node is plugged in the Environment slot. If you drag and drop it or browse for it, it defaults to the UVs. In other words, open the material editor and manually connect the Camera projection’s Col (RGB) to the Environment slot.

---

<div class="post-metadata">

**Author:** ![Vizioen](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vizioen/32/59355_2.png) [@Vizioen](https://forums.chaos.com/u/Vizioen)\
**Post date:** [January 5, 2024, 9:18am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/8 "2024-01-05T09:18:11Z")

</div>

Any reason why screen mapping doesn’t work? I remember having similar problems for a different setup/outcome.

---

<div class="post-metadata">

**Author:** ![hermit.crab](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/hermit.crab/32/46825_2.png) [@hermit.crab](https://forums.chaos.com/u/hermit.crab)\
**Post date:** [January 5, 2024, 9:27am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/9 "2024-01-05T09:27:26Z")

</div>

> [@Vizioen](#):
>
> Any reason why screen mapping doesn’t work? I remember having similar problems for a different setup/outcome.

It’s a 3ds Max thing, I can’t really say. It doesn’t work with Arnold as well.

---

<div class="post-metadata">

**Author:** ![petr\_frantis](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@petr\_frantis](https://forums.chaos.com/u/petr_frantis)\
**Post date:** [January 5, 2024, 11:20am UTC](https://forums.chaos.com/t/frost-glass-material-and-enviroment-map-background/117594/10 "2024-01-05T11:20:53Z")

</div>

I’m not sure I understand exactly what you meant, but this setup works 😛

 ![01.png](https://europe1.discourse-cdn.com/chaosprd/original/1X/7d8f8a05cf08e0901e0a67319d47bb56eb5ee8f8.png)  
 ![240102 EasyGate SPTs-G View A (4).jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/2/4/2448568b978cdd70c85f995bcfa26a43731a382e.jpeg)
