opengl實現百葉窗效果

百葉窗的實現原理:設置窗頁寬度,2張紋理間隔採樣。 頂點着色器: #version 330 core layout (location = 0) in vec3 aPos; layout (location = 1) in vec3 aColor; layout (location = 2) in vec2 aTexCoord; out vec2 TexCoord; out vec4 FragC
相關文章
相關標籤/搜索