Game Programming Lab Assesment: Lighting and Music Incorporation in The Game
Game Programming Lab Assesment: Lighting and Music Incorporation in The Game
LAB ASSESMENT
NAME:D.PENCHAL REDDY
REG NO:17BCE0918
FACULTY:NATARAJAN .P
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.
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.