Unity

Learn Unity shaders

Create a sample scene

First, the latest version of Unity at this time is 6000.0.40f1, so we will use this version to examine the shader code.

Unity has three types of drawing pipelines: Build-in , URP, and HDRP. I believe that URP is currently the most commonly used, so I will create a project using URP. First, place a Plane as the floor surface of the scene, and place a Sphere on it. Then, create a new Material, set the BaseMap color to red, and apply it to the Sphere to get this screen.