0% found this document useful (0 votes)
47 views8 pages

Game Programming Lab Assesment: Lighting and Music Incorporation in The Game

This document summarizes a game programming lab assessment completed by D. Penchal Reddy. The assessment involved incorporating lighting and music into a Unity game. Lighting techniques like global illumination, direct illumination, and indirect illumination were used. Screenshots show a basic cube with a monkey inside, the camera projection, and a particle system. Physics was added to a falling cube to make it fall and vanish upon collision. Background music was also incorporated by adding an audio source.

Uploaded by

Penchal Doggala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views8 pages

Game Programming Lab Assesment: Lighting and Music Incorporation in The Game

This document summarizes a game programming lab assessment completed by D. Penchal Reddy. The assessment involved incorporating lighting and music into a Unity game. Lighting techniques like global illumination, direct illumination, and indirect illumination were used. Screenshots show a basic cube with a monkey inside, the camera projection, and a particle system. Physics was added to a falling cube to make it fall and vanish upon collision. Background music was also incorporated by adding an audio source.

Uploaded by

Penchal Doggala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

GAME PROGRAMMING

LAB ASSESMENT

NAME:D.PENCHAL REDDY
REG NO:17BCE0918
FACULTY:NATARAJAN .P

Lighting and Music incorporation in the game.


AIM: To incorporate lighting and music in a game in unity.
PROCEDURE:
Lighting:
It involves the main technique of using global illumination by using which we
can incorporate lighting in our game.
Global illumination involves methods like:

Direct illumination:
It is when light is sent out and bounces once and reaches the eye.
Indirect illumination:
It is when light is sent out and bounces multiple times before reaching the eye.
Later we incorporate these techniques and obtain the outputs as:
• Direct Realtime lighting including directional lights, point lights and spotlights
• Emissive materials and how they can be used to make specific items in your
scene stand out.
• Three- and four-point lighting set ups - how to create them, how to vary them
and how to use them for different effects in your games.
• ShaderGraph: get started using Unity's visual editor for creating shaders!
Basic cube with a monkey inside that.

Projection of the camera.


SAMPLE SCREENSHOTS:
Music:
Download an audio clip of your choice and go to audio source and choose the
audio source from the asset. Make sure that the play on awake option is uncheck
otherwise the audio starts playing automatically. We generally do that if we
want to add a background music for a game.
Particle system:
Go to game object and click particle system. Uncheck the looping so that it
doesn’t automatically keep working. Uncheck play on awake option. Choose
your color from the start color option. Stimulate and check.

Physics:
Select the falling cube and in add component, add physics. And then add rigid
body. Check the use gravity option so that it actually makes the object fall
uncheck the is kinematic option. Then add new script i.e., C sharp script. Then
select the plain. Under rigid body, uncheck the gravity option and check the
kinematic option.

Play:
On playing, the falling cube falls and on collision it vanishes. On turning on the
sound u can hear the audio.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy