CSE3541/5541 (Spring 2026) Lab #4
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit
• All make-ups for lab must be accompanied by a documented and verifiable excuse well before the deadline. Given the severity of the emergency please inform me as soon as possible.
Objectives
Practice with various lighting models, light types, illumination parameters, materials and rendering pathways. Become familiar with how 3D tools, like Unity, use these.
Collaboration and Piazza
Please read the course policy on Academic Misconduct in the syllabus. You may discuss the lab with your classmates ONLY at a high level. You must formulate your own solution (all code must be authored by you alone) without any help from others or third party sources (e.g., the internet). Use of GenAI is completely prohibited.Do not post any part of your solution or spoilers on Piazza.
In your lab report (see below), you need to list with whom you have discussed the lab.
IMPORTANT: Your submission must state in your lab report that you have followed all course policies regarding academic misconduct, which are described in the syllabus. In order for your lab report to be graded, you must agree that you have not violated any course policy by copying and then pasting the following blurb into your lab report before the introduction:
My lab submission only contains work that I have completed solely on my own from scratch. I pledge that my solution is neither copied, derived, nor constructed in any way from third party sources, e.g. other persons, websites, generative AI, etc. I understand that if my submitted work is found to be in violation of any course policy that an incident report will be submitted to the Committee on Academic Misconduct (COAM).
Inclusion of this blurb in your lab report means that you agree to this statement and that it is true. If this blurb does not appear in your lab report in its entirety then your submission will not be graded and receive a zero. Submission of an incident report to COAM may possibly result in failing the course, being placed on academic probation, expelled from the University, etc.
Use a local Git repository (not Github) running only on your computer to develop your solution. Remember that Git is the NOT the same as Github (do NOT use Github). Write your solution INCREMENTALLY and use Git to maintain different versions up to your final solution for submission.
IMPORTANT DISCLAIMER: Depending on your machine, your bake times may be quite large. I emphasize for this lab that you should start early and implement your solution incrementally. For example, when baking make sure your solution can bake with one light source first. If your machine is older or has weak graphics hardware then you will need to allocate more time for yourself on this lab due to longer bake times.
Alternatively you could switch to a better machine.
I highly suggest you define sprints and work on this lab consistently rather than trying to accomplish it close to the deadline.
1. We will use the following tutorial videos to help complete the steps in this lab (the assignment has additional steps in places): https://www.youtube.com/playlist?list=PL-dl03Z0eHnrqqkHnJPk1Io1PISCUNmB
There will be overlap regarding material between these tutorials. Start with these tutorials before starting the lab and while you are working on it.
• Watch/study “REALTIME LIGHTING in Unity” to learn about settings, base/real-time lighting, shadows, light emitters (real-time light sources), and emissive materials.
• Watch/study “Unity: Light Probe Group” to learn about emissive objects, baking lightmaps, light probes
You can browse and refer to the rest of the videos in this play list to get further information on these topics. Use the title of the video and indexes (for those videos that are indexed) to help you learn more.
3. Create an interior scene similar to that shown below. This one is 6 planes for the floor, ceiling and 4 walls, and 3 cubes for the interior cutout. I used a wall thickness of 0.3 meters and the overall room size is 20x20 meters. Feel free to model your apartment or some closed area, we just want some dark areas and some light areas. Place all of these in an Empty GameObject named Room (make sure to reset its transform before moving objects into it).
5. In the Lighting/Environment, Disable the Skybox, set the Realtime Shadow and Ambient Colors to black.
Please submit a detailed report with an introduction, named sections, figures (figure numbers and captions), etc. in order to receive full credit. Your grade on this lab will only be based on the lab report. See my document on Carmen with guidelines on how to write your report. So please do not just provide short answers to the questions below as this will receive little credit towards your lab grade. Also, your lab report must contain much more content more than just answers to these questions. You must include PLENTY of screen shots of your results using good camera vantage points that best illustrate your work. You do not need to take screen shots of your settings. Instead, you can just state the important ones in your lab report.
IMPORTANT NOTE: The grader will not grade your Unity package solution.
Assume that the grader will not look at your Unity package solution when grading.
Again, your grade on this lab is based on your lab report only. Though, if your Unity package solution does not match what you state in your lab report then you will not receive credit for the lab.
Please include answers (in addition to other content describing what you have implemented) to the following questions in your report. Do not include the questions.
Use images to explain your answer where appropriate):
1. In order for your lab report to be graded, you must agree that you have not violated any course policy by copying and then pasting the following blurb into your lab report before the introduction: My lab submission only contains work that I have completed solely on my own from scratch. I pledge that my solution is neither copied, derived, nor constructed in any way from third party sources, e.g. other persons, websites, generative AI, etc. I understand that if my submitted work is found to be in violation of any course policy that an incident report will be submitted to the Committee on Academic Misconduct (COAM).
Inclusion of this blurb in your lab report means that you agree to this statement and that it is true. If this blurb does not appear in your lab report in its entirety then your submission will not be graded and receive a zero. Submission of an incident report to COAM may possibly result in failing the course, being placed on academic probation, expelled from the University, etc.
IMPORTANT NOTE: Your grade on this lab will only be based on the lab report!
Within Unity, right-click the scene file and choose Export Package … This ensures that only the files used in the scene are exported (as well as all scripts as it cannot tell sometimes). Save the package as YourlastnameLab4. This should result in a file called YourLastNameLab4.unitypackage being created in the folder you specified (hint, use Documents or some other space). This is the file you should turn in for grading.
Under the Lab 4 assignment on Carmen, submit both the PDF file and the unitypackage file using File Upload option (not the Buckeye Box option).
You can test to determine if you have made the package correctly by creating a new
Unity project. Open the package file from a file browser, import all of the files in it, open the scene within Unity, and click play.
Expected ResultsHere is the baked lightmap for the right wall:
2026-04-01