Skip to content

Latest commit

 

History

History

Lecture1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Assignment №1: "Broken Shader"

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.

  1. Use RenderDoc to peek into the messy shaders he made.
  2. 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)
  3. Make sure that you have a perfect representation of Michael's results.
  4. Send me a screenshot of your results at mischapanin@gmail.com along with your shader.
  5. 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.