1.1.1 | 像素處理階段
2023-08-05 14:27 作者:GeometryGlacier | 我要投稿

目錄索引

本系列與知乎同名翻譯同步更新,原文鏈接:https://zhuanlan.zhihu.com/p/646108331
如有任何翻譯錯誤,歡迎在評論區(qū)踹我:)!
原文對照
Using the interpolated values from the previous processes, this last stage starts when all the pixels are ready to be projected onto the screen. At this point, the?fragment shader stage, also known as a?pixel shader stage, begins and is responsible for the visibility of each pixel. Basically what it does is compute the final color of a pixel and then send it to the color buffer.


譯文
使用前序階段得到的數(shù)據(jù)進(jìn)行插值,當(dāng)所有像素都準(zhǔn)備好投射到屏幕上后,最后一個階段——像素處理階段就準(zhǔn)備開始了。片元著色器階段(也稱為像素著色器階段)負(fù)責(zé)決定每個像素是否可見,它的基本工作是計算每個像素的最終顏色,然后將其發(fā)送到顏色緩沖區(qū)。
