- Unity 2018 Shaders and Effects Cookbook
- John P. Doran Alan Zucconi
- 151字
- 2021-06-18 19:04:21
Creating a transparent material
All the shaders we have seen so far have something in common; they are used for solid materials. If you want to improve the look of your game, transparent materials are often a good way to start. They can be used for anything from a fire effect to a glass window. Working with them, unfortunately, is slightly more complicated. Before rendering solid models, Unity orders them according to the distance from the camera (Z ordering) and skips all the triangles that are facing away from the camera (culling). When rendering transparent geometries, there are instances in which these two aspects can cause problems. This recipe will show you how to solve some of these issues when it comes to creating a transparent Surface Shader. This topic will be heavily revisited in Chapter 7, Fragment Shaders and Grab Passes, where realistic glass and water shaders will be provided.
- Spring Cloud Alibaba微服務架構設計與開發實戰
- Learning PostgreSQL
- C#完全自學教程
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 跟小海龜學Python
- 實戰Java程序設計
- Blockly創意趣味編程
- Interactive Applications Using Matplotlib
- Java網絡編程核心技術詳解(視頻微課版)
- 微服務架構深度解析:原理、實踐與進階
- Instant PHP Web Scraping
- Building Business Websites with Squarespace 7(Second Edition)
- JavaScript編程精解(原書第2版)
- Java語言程序設計實用教程(第2版)
- AngularJS UI Development