# (open)\[HOU-3695\]Opacity map artifacts in GPU mode

**URL:** <https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088>\
**Category:** Issues\
**Created:** [February 24, 2023, 3:05pm UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088 "2023-02-24T15:05:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [February 24, 2023, 3:05pm UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/1 "2023-02-24T15:05:10Z")

</div>

Hello.

I’m having a problem with a curved plane very close to a cylindrical surface. This plane has mapped opacity.

In CPU mode it renders as expected but in GPU mode some artifacts appear.  
If I offset the plane a little bit from the surface it renders ok so I asume there is some problems with the cutoff distance.

 ![GPU.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/9/4/94c8ea9053387a69ab590aa038b493074fc32547.jpeg) ![CPU.jpg](https://europe1.discourse-cdn.com/chaosprd/original/3X/0/5/0584b5daaef53ed7ff7b850c87819cd62536c596.jpeg)

---

<div class="post-metadata">

**Author:** ![chakarov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/chakarov/32/29561_2.png) [@chakarov](https://forums.chaos.com/u/chakarov)\
**Post date:** [March 2, 2023, 12:04am UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/2 "2023-03-02T00:04:27Z")

</div>

Hello @gagui I’ve reproduced and reported the problem, it seems to be caused by surfaces intersecting each other

---

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [March 2, 2023, 8:40am UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/3 "2023-03-02T08:40:23Z")

</div>

But in this case the surfaces are not intersecting in fact they are slightly offset, very close but not intersecting. I could send the scene if it helps.

---

<div class="post-metadata">

**Author:** ![chakarov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/chakarov/32/29561_2.png) [@chakarov](https://forums.chaos.com/u/chakarov)\
**Post date:** [March 6, 2023, 10:40pm UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/4 "2023-03-06T22:40:53Z")

</div>

I’ve managed to reproduce it only with intersecting surfaces. A scene will be helpful.

---

<div class="post-metadata">

**Author:** ![gagui](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/gagui/32/33244_2.png) [@gagui](https://forums.chaos.com/u/gagui)\
**Post date:** [March 7, 2023, 9:43am UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/5 "2023-03-07T09:43:46Z")

</div>

Hello Georgy.

Here you have the scene. If you render it with GPU the problem is evident. If you change to CPU it just renders ok.  
[GPU\_problem\_bottle.zip](https://forums.chaos.com/uploads/short-url/czqP9UWToCIMOIi5Uteo31YuSvy.zip) (746 KB)

---

<div class="post-metadata">

**Author:** ![chakarov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/chakarov/32/29561_2.png) [@chakarov](https://forums.chaos.com/u/chakarov)\
**Post date:** [March 7, 2023, 9:42pm UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/6 "2023-03-07T21:42:22Z")

</div>

Hi @gagui , indeat in your case the surfaces are not intersecting, just really close. Just tested with -0.0003 offset and seems to work fine on my side.

---

<div class="post-metadata">

**Author:** ![Ymauchi](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/ymauchi/32/271368_2.png) [@Ymauchi](https://forums.chaos.com/u/Ymauchi)\
**Post date:** [March 24, 2023, 5:54am UTC](https://forums.chaos.com/t/open-hou-3695-opacity-map-artifacts-in-gpu-mode/114088/7 "2023-03-24T05:54:16Z")

</div>

Houdini’s default units of -0.0003 is 0.3mm, which is a large gap.

​As I also reported below, it’s the GPU’s Secondary rays bias precision issue.  
The user needs the same precision as the CPU.  
​  
[https://forums.chaos.com/forum/v-ray-rt-forums/v-ray-rt-problems/1169321-gpu-secondary-rays-bias-precision](https://forums.chaos.com/forum/v-ray-rt-forums/v-ray-rt-problems/1169321-gpu-secondary-rays-bias-precision)
