here is the code for my fragment shader: vec4 point = g_WorldViewProjectionMatrix * vec4(0.0, 0.0, 0.0, 1.0); float dist = sqrt(pow(gl_FragCoord.x - point.x ...
確定! 回上一頁