Skip to main content
1 of 2
Ivan
  • 379
  • 5
  • 16

Why is part of my render texture see trough in Unity?

I have a camera that is looking at an object with render texture output and I use that render texture on raw image in UI.

Object itself has 2 parts:

  1. the ball
  2. kind of a semi transparent mask.

enter image description here

And this is an output: enter image description here

The star is there just for the reference. Problem is that part behind the second object is also transparent on render texture like it is see trough. I need that object transparent in relation to the ball (object one) but I don't want my texture to be see trough.

This is the result I expect:

enter image description here

Ivan
  • 379
  • 5
  • 16