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:
- the ball
- kind of a semi transparent mask.
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-through. I need that object transparent in relation to the ball (object one) but I don't want my texture to be see trough-through.
This is the result I expect: