vec2 mouse_distance = mouse - (gl_FragCoord.xy / resolution); float red = 1.0 - length(mouse_distance); gl_FragColor = vec4(red, 0, 0, 1.0);
確定! 回上一頁