skip to Main Content

Javascript – i create circle around mouse pointer but problem is that it display perfect in my pc ,when test in laptop then it not display around mouse pointer

fragment code : export const fragment = `varying vec2 vUv; uniform vec2 viewport; uniform vec2 uMouse; float createCircle() { vec2 viewportUv = gl_FragCoord.xy / viewport; float viewportAspect = viewport.x / viewport.y; vec2 mousePoint = vec2(uMouse.x, 1.0 - uMouse.y); float circleRadius…

Back To Top