vec3 vCol = vec3(textureLod(texImg, vTexPos, 0).xyz) / 255.0;. gl_FragColor = vec4(vCol, 1.0);. } The fragment shader for luminance images:.
確定! 回上一頁