A surface shader can tell Unity how normal maps and occlusion maps should be used to deflect the incoming light hitting a triangle. It determines how light reflects on its triangles. Surface shading is what gives to a material its look. Among the many things they can do, two are the ones we are interested into: surface shading and vertex displacement. If you are interested in learning more about them, A Gentle Introduction to Shaders is a good starting point.įor the sole purpose of this tutorial, we will focus on Surface shaders. There are many types of shaders, used for a variety of different effects. Loosely speaking, a shader is a special script that is used to determine how a 3D models should be rendered. While textures are often used to give them a basic look, it’s shaders that really make the difference. A 3D model usually contains only triangles.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |