Michael was in such a hurry to get to the lecture, that he messed up both vertex and the fragment shader! Instead of a beautiful and well-lit sphere, he got a strange stripy figure.
Since he is your teacher, he asked you to repeat his mistakes, claiming that "it is supposed to look like that". You can find his broken build here.
- Use RenderDoc to peek into the messy shaders he made.
- Change Assets/Scripts/BrokenShader.shader in such way, that the sphere in Assets/HomeWork/BrokenSphere.unity looks exactly the same as Michael's. (Open the project with Unity 2019.4)
- Make sure that you have a perfect representation of Michael's results.
- Send me a screenshot of your results at mischapanin@gmail.com along with your shader.
- e-mail should have the following topic: HSE.CG.<your_name>.<your_last_name>.HW1
Hint: you can attach RenderDoc to unity AND to the broken build to see the difference between the shaders.