- Home /
Why does my cursor image have artifacts in WebGL?
My game has a custom cursor. It looks great in editor and in PC builds. When it comes to WebGL, something goes wrong. There is an artifact along the right hand side. The image, which was originally greyscale, has a red tinge on the left hand side and a blue tinge on the right hand side.
I tested it with a few other images to see what was happening, but I don't have a conclusive answer to what's going on. I've tried a number of compression options on the asset import settings. I've fiddled with the filter mode and format, mainly. No change. It looks exactly the same on Chrome and on Firefox.
Advice appreciated, thank you!
Answer by Zogg · Nov 13, 2015 at 03:10 PM
Still occurs in 5.2. Can be avoided by using CursorMode.ForceSoftware.
I get a double cursor ( the standard and my texture) with ForceSoftware on Unity 5.3.4 On Firefox and Chrome. (not locally on FF) When I upload the files to the server.
Answer by Schubkraft · Aug 27, 2015 at 02:03 PM
This is a bug. Should be fixed in the upcoming 5.2 release.
Your answer
Follow this Question
Related Questions
Multiple Cursors - WebGL Unity 5.6 2 Answers
WebGL Mouse spawn 0 Answers
Cursor Resize? 1 Answer
How to use CursorLockMode in webGL 0 Answers