Shader 模板緩衝和模板測試

Shader 模板緩衝和模板測試 http://blog.sina.com.cn/s/blog_6e159df70102xa67.html 模板緩衝的概念 Unity官方的Shader文檔根本沒有提到這個玩意,這個概念也是看到了UGUI build-in shader 的Mask實現才發現了這個部分。  先說一下基礎知識,在圖形學中一個像素會有如下緩存: 顏色緩存color buffer/pixe
相關文章
相關標籤/搜索