Directional Light in Unity - Unity Lighting Tutorial 04

ChidresTechTutorials
ChidresTechTutorials
6.3 هزار بار بازدید - 6 سال پیش - Notes for You:: Directional Light
Notes for You:: Directional Light in Unity.
- emits an infinite light in a specified direction.
- the emitted light will not get diminish.
- is used to mimic far light.
Example: Sunlight, moonlight, etc.

Note:
- Directional light position does not matter; we can place it wherever we want.
- if required We can place multiple directional lights in the scene.

How to create Directional Light:
- Go to GameObject Menu - Light - Directional light.


Directional Light properties:

Type
- indicates type of light (Directional, Spot, Point, Area)
Color
- indicates the color of the emitted light.
Mode
- indicates whether the light is real time, backed or mixed light.
Intensity
- indicates the brightness of the emitted light.
Indirect multiplier
- indicates the brightness of indirect light.
Shadow type
- indicates whether the light casts hard or soft shadows or no shadows.
Strength:
- indicates opacity of shadows casted.
Resolution:
- indicates resolution of shadows casted.
Bias:
- indicates distance at which shadows casted are pushed away to control false artifacts.
Normal Bias:
- indicate show much shadows casted spread or shrunk to control false artifacts.
Shadow Near Plane: works only for range based lights.
- indicates shadows casted clipping in unit.

Cookie
- indicates the texture mask for a light.
Example: patterned illumination of lights.

Applying Cookie:
- Import star_cookie texture
- Set Texture Type - Cookie
- Set Light Type - Directional
- Set Alpha Source - From Gray scale
- Set Wrap mode - Clamp / Repeat
- Click on Apply Button
- Drag star_cookie to Cookie property of light.

Cookie Size
- indicates the size of texture mask applied to light.

Draw Halo
- Draws a spherical halo at the light's position equal to light range value.

Flare
- Draws a Flare light at the light's position (Sun)
Note: Import Light Flares effects from standard assets


Render mode
- Affects the degree of exactness & performance of lighting
Auto: Rendering mode is determined at run time,
important: rendered at per pixel basis
not important :rendered at per vertex basis

Culling mask
- allows us to select the layer which should not be affected by this light.

=========================================

Follow the  link for next video:
Unity Lighting Tutorial 05 - Spot Light in Unity
Spot Light in Unity - Unity Lighting ...

Follow the link for previous video:
Unity Lighting Tutorial 03 - Ambient Light in Unity
Ambient Light in Unity - Unity Lighti...

=========================================

Unity Lighting Tutorials Playlist:-
Unity Lighting Tutorials

=========================================
Watch My Other Useful Tutorials:-

Unity Tutorials Playlist:-
Unity Engine Tutorials

Unity Camera Tutorials Playlist:-
Unity Camera Tutorials

Unity Particle System Tutorials Playlist:-
Unity Particle System Tutorials

Unity Physics System Tutorials Playlist:-
Unity Physics System Tutorials

Unity C-Sharp Scripting Tutorials Playlist:-
Unity C# Scripting Tutorials

=========================================

Every video on my channel is made with Love and Hard work, So don't forget to Like, Comment & Share.
Please do Subscribe, Hit the bell icon & Enjoy Learning. It's FREE.

=========================================

Subscribe to our YouTube channel:-
chidrestechtutorials

Join as Member of our YouTube channel:-
https://www.youtube.com/chidrestechtu...

Become our Patron:-
Patreon: chidrestechtutorials

Visit our Website:-
https://www.chidrestechtutorials.com

Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstam...

Buy our Products on Spring:-
https://chidres-tech-tutorials.creato...

=========================================
Follow Us:-

Google My Business:-
https://chidrestechtutorials.business...

Google Blog:-
http://manjunathchidre.blogspot.com

LinkedIn:-
LinkedIn: chidrestechtutorials

Facebook:-
Facebook: chidrestechtutorials

Twitter:-
Twitter: ManjunathChidre

Tumblr:-
Tumblr: chidrestechtutorials

Pinterest:-
Pinterest: chidrestechtutorials

=========================================

Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.

=========================================
Hash Tags:-
#ChidresTechTutorials #Unity #UnityLightingTutorial
6 سال پیش در تاریخ 1397/08/30 منتشر شده است.
6,348 بـار بازدید شده
... بیشتر