smpColor = texture2D(texture, gl_PointCoord);. ここで出てくる gl_PointCoord という組み込み変数には、描画される点上のテクスチャ座標が入ってきます。
確定! 回上一頁