官术网_书友最值得收藏!

How it works...

Post process materials are a bit different than the ones we apply to 3D models. Just as we need UVs in our meshes to indicate how textures should wrap around the objects, we need to access a specific bit of information from the scene that is being rendered in order to apply certain effects to it.

Instead of UVs, though, the information that we need from the scene comes in the shape of different scene textures, such as the one we dealt with before named Post Process Input 0. There are many others, and we will use them according to our needs. For instance, we can also access the subsurface color or the Ambient Occlusion pass if we want to. The point is that we have access to many scene buffers and you can use them to create a material that suits your needs. 

Of course, using those nodes is not always mandatory and you can create a post process material using only the nodes that you would use on a traditional material. However, don's pass on the resources available to you through the Scene Texture parameter.

主站蜘蛛池模板: 富川| 修武县| 上栗县| 大同市| 武川县| 蓝山县| 平安县| 抚州市| 闸北区| 铅山县| 宁德市| 额济纳旗| 木兰县| 天台县| 历史| 临汾市| 河北省| 中西区| 弋阳县| 霍山县| 长岭县| 上饶县| 弋阳县| 南城县| 汕头市| 凤山县| 黔西| 谢通门县| 中卫市| 玉山县| 苍梧县| 敦化市| 乐陵市| 山东| 常熟市| 新蔡县| 象州县| 裕民县| 凌源市| 瑞安市| 游戏|