Search Unity

Render Texture doesn't allow OnMouseOver or OnMouseDown to work

Discussion in 'General Graphics' started by dragonitemaster876, Sep 9, 2021.

  1. dragonitemaster876

    dragonitemaster876

    Joined:
    Mar 31, 2021
    Posts:
    3
    I have a render texture on my canvas attached to my camera that gives a pixelated look to the screen; however, when I try to click on a game object that is triggered by any mouse function such as OnMouseOver or OnMouseDown, nothing happens. When I take the render texture off of the camera, those functions work perfectly. How can I make it so that the functions work with the render texture active?