像素著色引擎

像素著色引擎(Pixel Shader)是以每像素(Pixel)為單位的圖形處理功能。像素著色引擎不是最迫切需要的,擁有較低的優先權,當頂點著色引擎負荷大時,像素著色引擎可能被閒置著。大多數情況下,可使用頂點著色法代替像素著色法。

Direct3D 9.0 擴充像素著色引擎,有多達1536個指令。

程式化
像素著色引擎可以用下列語言程式化:組合語言、Cg、GLSL、HLSL

相容性
硬體
下表列出顯示卡、圖形晶片、以及DirectX所支持的像素着色引擎版本。图形芯片一般是完全向下兼容的(如支持 3.0 的芯片也同时支持 2.0,1.1 等)。

(Italics indicate products that are not yet available.)

外部連結
*[http://www.opengl.org/documentation/glsl/ OpenGL Shading Language] – Documentation of Shader in OpenGL
*[http://www.lighthouse3d.com/opengl/glsl/index.php GLSL Tutorial (engl.)]
*[http://3dshaders.com/home/index.php?option=com_weblinks&catid=14&Itemid=34 OpenGL Shading Language examples]
*[https://web.archive.org/web/20090204132435/http://www.gamedev.net/columns/hardcore/dxshader3/ Fundamentals of Pixel Shaders] at Gamedev.net

评论 (0)

  • 还没有评论,来抢沙发吧。