gb Shadow類

來源:互聯網
上載者:User

 

  • Shadow Write Materials: 是將資料寫進陰影圖類NiFragmentMaterial的一個簡單拓展類。.

  • Shadow Technique: 包括那些將資料寫入陰影圖的shader code 及 將資料從陰影圖裡讀出的shader code.

  • Shadow Render Click: 由shadow click generator產生的,一個單獨的用來渲染一張紋理陰影的render click 

  • Shadow Click Validator: 是被所有shadow render click objects使用的陰影驗證器,它確保shadow generator 為正在執行的render click 提供的幾何體陰影是可見的。

  • Shadow Map:一個shadow map 對象引用一個紋理來用作陰影圖和相關狀態。shadow manager擁有Shadow map對象。每一個shadow generator 以 它所用的shadow map 作為參考依據。

  • Shadow Cube Map: Shadow cube map 對象和shadow map 對象很相似,只是Shadow cube map 對象用a cube map 而不是用一個2D 紋理。

  • Shadow Generator: 與NiDynamicEffect對象有著一對一的聯絡。這個關係可以把一個NiDynamicEffect定義為一個shadow generating 對象。此時只有NiLight對象被支援。.
    每一個shadow generator將會用shadow technique 去定義採用什麼shader技術為一些特殊效果提供一些shader代碼。

  • Shadow Click Generator: A shadow click generator is used to produce all the shadow render click objects needed to render the shadow maps for the active shadow generator objects. This encapsulates the algorithm used to determine
    what shadow maps will be assigned to a shadow generator and which of those shadow maps will be updated for the current frame, along with the world to shadow map matrix to use.

  • Shadow Manager: The shadow manager owns all the shadow technique objects, all the shadow map objects, and all the shadow render click objects. It is responsible for managing data pools for all of these object types and uses
    a shadow click generator to generate a list of all the shadow render click objects needed for each frame.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.