Unity Unity Lighting and Rendering 1 — Questions and Answers
Question 1: Which Unity lighting mode bakes lighting information into lightmaps and does NOT update at runtime?
- Realtime
- Baked (Correct answer)
- Mixed
- Dynamic
Correct answer: Baked
Baked lighting precomputes light and shadow data into lightmaps at editor time, so it cannot change during gameplay.
Question 2: What component must be added to a camera to use Unity's Post-Processing Stack effects such as bloom and color grading?
- Lens Flare
- Post-Process Layer (Correct answer)
- Rendering Pipeline Asset
- Flare Layer
Correct answer: Post-Process Layer
The Post-Process Layer component on a camera tells Unity to apply post-processing effects from nearby Post-Process Volumes.
Question 3: In Unity's Universal Render Pipeline (URP), which asset stores global rendering settings such as shadow distance and quality tiers?
- Render Texture
- UniversalRenderPipelineAsset (Correct answer)
- GraphicsSettings
- QualitySettings ScriptableObject
Correct answer: UniversalRenderPipelineAsset
The UniversalRenderPipelineAsset (a ScriptableObject) holds pipeline-wide settings including shadow distance, MSAA, and renderer lists.
Question 4: Which type of light in Unity casts parallel rays and is most suitable for simulating sunlight?
- Point Light
- Spot Light
- Directional Light (Correct answer)
- Area Light
Correct answer: Directional Light
A Directional Light emits parallel rays from a fixed direction regardless of position, making it ideal for simulating the sun.
Question 5: What is the purpose of a Reflection Probe in Unity?
- To generate ambient occlusion maps
- To capture and apply environment reflections to nearby objects (Correct answer)
- To bake global illumination for static objects
- To control the intensity of real-time shadows
Correct answer: To capture and apply environment reflections to nearby objects
A Reflection Probe captures a 360° image of its surroundings and applies those reflections to objects within its zone of influence.
Question 6: In Unity, which Shader Graph node outputs the final color of a fragment before it is written to the screen in a PBR workflow?
- Color
- Albedo
- Master Stack (Fragment) (Correct answer)
- Emission
Correct answer: Master Stack (Fragment)
In Shader Graph, the Master Stack's Fragment context collects Base Color, Normal, and other PBR inputs and outputs the final shaded pixel.
Question 7: What does setting a renderer's 'Cast Shadows' property to 'Two Sided' accomplish in Unity?
- It doubles the shadow map resolution
- It enables shadows from both the front and back faces of the mesh (Correct answer)
- It allows the object to cast shadows in two light sources
- It blends realtime and baked shadows
Correct answer: It enables shadows from both the front and back faces of the mesh
Two Sided shadow casting causes Unity to render shadows from both the front and back faces of a mesh, preventing gaps in thin geometry like leaves.
Which Unity lighting mode bakes lighting information into lightmaps and does NOT update at runtime?