반응형 GLSL2 OpenGL Shading Language (셰이딩) GLSL_(3) OpenGL Shading Language Transformation of Surface Normals The modelview matrix transforms vertices from the local coordinate system to the camera coordinate system A later application of illumination models requires that the surface normal of each vertex is also transformed from the local coordinate system to the camera coordinate system So far, the fixed-function pipeline has taken care of the .. 2023. 6. 18. OpenGL Shading Language (셰이딩) GLSL_(1) OpenGL Shading Language OpenGL Shading Language The OpenGL Shading Language (GLSL) allows writing custom programs for vertex and fragment processors The custom GLSL programs thereby replace parts of the OpenGL pipeline that were previously performed by the fixed-function pipeline The per-vertex-operations are partially replaced by a vertex shader and the per-pixel-operations by a fragment shader.. 2023. 6. 17. 이전 1 다음 반응형