Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Hardware Cursor in Retina?

Discussion in 'macOS' started by _Adriaan, Jan 3, 2017.

  1. _Adriaan

    _Adriaan

    Joined:
    Nov 12, 2009
    Posts:
    481
    Hey there!

    I'm trying to make my cursor pretty, but it's tough. My 32x32 cursor is rendered at 64x64 pixels at all times, not taking Retina into account.

    Anyone know how to fix this?
     
  2. alelepd

    alelepd

    Joined:
    Feb 18, 2015
    Posts:
    7
    Hi, I came across this issue too. Did you found a solution for this? So far, the only way I found to see the cursor in retina, is by setting it to ForceSoftware mode. But that made the mouse movement incredible slow.
     
  3. _Adriaan

    _Adriaan

    Joined:
    Nov 12, 2009
    Posts:
    481
    nope, haven't found a way :/
     
  4. aasiq

    aasiq

    Joined:
    Dec 29, 2016
    Posts:
    16
    Hi. Sorry for reviving the old post. I still have this issue. Did you find any workaround/solution for it? @_Adriaan @alelepd
     
  5. _Adriaan

    _Adriaan

    Joined:
    Nov 12, 2009
    Posts:
    481
    nope :/
     
  6. aasiq

    aasiq

    Joined:
    Dec 29, 2016
    Posts:
    16
    Ok :(
    Another similar issue is when I increase the cursor size in System preference (on Mac) or Settings (on Windows), the Hardware cursor (CursorMode.Auto) in unity scales the same 32x32 texture and makes it more blurry.
    It would be great if Unity fix these cursor issues/limitations.
     
  7. rebecca_b

    rebecca_b

    Unity Technologies

    Joined:
    Jul 9, 2018
    Posts:
    7
  8. _Adriaan

    _Adriaan

    Joined:
    Nov 12, 2009
    Posts:
    481
    The problem is related, and I must say that this is a really bad design decision that I hope you can poke around for internally. The fact that we can't make a retina (read: higher DPI) cursor makes cursors just plain ugly. There should be a way for developers to say 'render this cursor texture at this size'.