java - Transform hardware cursor in LWJGL -
i using lwjgl's mouse.setnativecursor()
change cursor in game i'm making. however, rest of game scaled while cursor retains 1:1 pixel ratio, cursor looks out of place.
is there efficient way transform cursor on fly?
if not, software cursor (drawing image @ mouse co-ordinates) considered alternative? have been avoiding using 1 until because i have heard ties mouse movement frame rate of game can introduce latency.
i don't know, option might scale cursor's texture. or, hide cursor , draw in opengl. draw 2d quad above screen , of it's contents. let resize it, might confuse users , make mouse more inaccurate.
if you're looking dynamic scaling without latency, hiding , drawing quad might best way go.
Comments
Post a Comment