Quantcast
Channel: Questions in topic: "gui"
Viewing all articles
Browse latest Browse all 125

Mouse click not registered correctly using CRT shader

$
0
0
Hey, I'm making a game in which the user can program robots to do simple tasks I'm using a CRT shader for the UI that allows the user to write the code : ![CRTshader](https://i.imgur.com/hAleOyL.png)
However, when I click on the button "Run", the region where the button can be clicked is slighty offseted the further it is to the center : ![CRTshader](https://i.imgur.com/iM4Wlmo.png)
In red, this is the area where I the button reacts when I click.
There is also the same problem for the effect checkbox, and the stop button Does anyone knows how I can fix this ? Thanks

Viewing all articles
Browse latest Browse all 125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>