# Can Ambient Oclusion be used with a Background Texture?

**URL:** https://discourse.paraview.org/t/can-ambient-oclusion-be-used-with-a-background-texture/6268
**Category:** ParaView Support
**Created:** [January 21, 2021, 2:32pm UTC](https://discourse.paraview.org/t/can-ambient-oclusion-be-used-with-a-background-texture/6268 "2021-01-21T14:32:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [January 21, 2021, 2:32pm UTC](https://discourse.paraview.org/t/can-ambient-oclusion-be-used-with-a-background-texture/6268/1 "2021-01-21T14:32:13Z")

</div>

Am using 5.9-RC4. Have a view with a Texture:

> renderView2.UseTexturedBackground = 1  
> renderView2.BackgroundTexture = my\_texture  
> renderView2.UseAmbientOcclusion = 1

I have noticed that when turning Ambient Occlusion ON, my texture background gets replaced by the view’s default Background Color. Is this expected? I wish to use both at the same time.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 21, 2021, 2:33pm UTC](https://discourse.paraview.org/t/can-ambient-oclusion-be-used-with-a-background-texture/6268/2 "2021-01-21T14:33:39Z")

</div>

@LfxPaul
