- 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.
- Advanced Quantitative Finance with C++
- 計算機網絡
- PostgreSQL Cookbook
- 算法大爆炸:面試通關步步為營
- Learning AWS Lumberyard Game Development
- The Computer Vision Workshop
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優化計算
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- C語言程序設計
- Java應用開發技術實例教程
- Instant Nancy Web Development
- OpenCV 4計算機視覺項目實戰(原書第2版)
- Cybersecurity Attacks:Red Team Strategies
- 輕松上手2D游戲開發:Unity入門
- JavaScript腳本特效編程給力起飛