Mobile app version of vmapp.org
Login or Join
Alves566

: Where are the light sources located in Material design? Google says that Key lights create directional shadows, and Ambient light create soft shadows from all angles. Referring specifically to

@Alves566

Posted in: #GoogleMaterialDesign #Mobile #Usability #WebsiteDesign

Google says that Key lights create directional shadows, and Ambient light create soft shadows from all angles.

Referring specifically to the image below, where are the Key & Ambient Light sources located, that have created both directional & soft shadows around the material?



Source: material.google.com/material-design/environment.html#environment-light-shadow

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves566

1 Comments

Sorted by latest first Latest Oldest Best

 

@Odierno310

It is actually 45 degrees altitude and 90 degrees angle. You can see it in the video @Cagrigk posted. (this is the link with the exact timing).

These images posted in Material design:


The following example shows the card with a height of 6dp.


Which implies a conversion of 12px:


xhdpi (2x) @ 6.00dp = 12.00px


So the card real size is 320*320px and the shadows are 12px size (6dp at 2x = 12px), and as the shadow is placed at 45 degrees, the distance value is also 12px.



On the images the right bottom corner is the customized one, and the rest is the original image.

Shadow cast by ambient light (this one doesn't have any angle):





Shadow cast by key light:





What I am not sure is with which blend mode to combine both styles.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme