# How to get gtao effect for transparent object

**URL:** <https://discourse.threejs.org/t/how-to-get-gtao-effect-for-transparent-object/60445>\
**Category:** Questions\
**Tags:** shaders\
**Created:** [January 18, 2024, 5:58am UTC](https://discourse.threejs.org/t/how-to-get-gtao-effect-for-transparent-object/60445 "2024-01-18T05:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kong2dog](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kong2dog/32/25339_2.png) [@kong2dog](https://discourse.threejs.org/u/kong2dog)\
**Post date:** [January 18, 2024, 5:58am UTC](https://discourse.threejs.org/t/how-to-get-gtao-effect-for-transparent-object/60445/1 "2024-01-18T05:58:27Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/0/a/0a548101fbed9009603cf377ba3e76a6b38d4a2d.jpeg)  
here is the effect I want, I need aomap effect for the floor inside the transparent building, but when I use gtao, the aomap is always wrong, I can’t calculate the ao effect inside the building shell.  
Is there a way to achieve this kind of effect, I want to ao to be inside the building shell.

---

<div class="post-metadata">

**Author:** ![kong2dog](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/kong2dog/32/25339_2.png) [@kong2dog](https://discourse.threejs.org/u/kong2dog)\
**Post date:** [January 18, 2024, 6:01am UTC](https://discourse.threejs.org/t/how-to-get-gtao-effect-for-transparent-object/60445/2 "2024-01-18T06:01:06Z")

</div>

![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/7/d/7dd74abc6ad509ae2547ca5e6a72369323333c03.png)  
this is the origin mesh, does anybody know how to achieve this effect. any way, not only ao, does anybody know any methods?
