Recall & Review
beginner
What is a shader in Unity?
A shader is a small program that tells the computer how to draw something on the screen, controlling colors, lighting, and textures.
Click to reveal answer
beginner
Why do shaders control visual rendering?
Shaders control visual rendering because they decide how light interacts with surfaces, what colors to show, and how textures appear, making the final image look realistic or stylized.
Click to reveal answer
intermediate
Name two types of shaders commonly used in Unity.
Vertex shaders, which handle the shape and position of objects, and fragment (or pixel) shaders, which handle the color and texture of each pixel.
Click to reveal answer
intermediate
How do shaders affect performance in Unity games?
Shaders can affect performance because complex shaders need more calculations, which can slow down the game, so simpler shaders are used for better speed.
Click to reveal answer
intermediate
Explain how a shader uses lighting to change an object's appearance.
A shader calculates how light hits an object’s surface and changes the color and brightness based on the light’s angle and intensity, making the object look shiny, dull, or glowing.
Click to reveal answer
What part of the shader controls the color of each pixel?
✗ Incorrect
The fragment shader decides the color and texture of each pixel on the screen.
Why are shaders important for visual rendering in Unity?
✗ Incorrect
Shaders control how objects look by managing light, color, and textures during rendering.
Which shader type mainly changes the shape and position of objects?
✗ Incorrect
Vertex shaders handle the shape and position of objects by processing vertices.
What happens if a shader is too complex?
✗ Incorrect
Complex shaders require more calculations, which can slow down the game.
How does a shader simulate shiny surfaces?
✗ Incorrect
Shaders simulate shiny surfaces by calculating how light reflects and creates highlights.
Explain in your own words why shaders are essential for visual rendering in Unity.
Think about how shaders decide what you see on the screen.
You got /3 concepts.
Describe the difference between vertex shaders and fragment shaders.
One changes the object's form, the other changes its look.
You got /2 concepts.