Shadow Plane
Last updated
Last updated
Shadow Plane is a performant way to get floor shadows in your browser WebGL scene. A projection of the geometry is done from above. The distance of the geometry from the top of the projection to the Shadow Plane is calculated. Then a texture is saved and applied to the Shadow Plane asset. Meshes closer to the Shadow Plane appear darker and meshes farther away appear a lighter grey, much like a depth map. Threekit then exposes features to adjust the look of the direction and direction of the projection. The Shadow Plane doesn’t export to AR and is a great option for adding more realism to your browser WebGL scene.
PROPERTY | DESCRIPTION | ||||||
Opacity | Determines how see-through the texture is. Numeric Range:
| ||||||
Blur | Blurs the Shadow Plane. Numeric Range:
| ||||||
Resolution | This determines the size of the texture. The smaller the resolution is less detailed but loads faster. | ||||||
512 | Defaulted value. Saves out a 512x512 texture applied to the Shadow Plane. | ||||||
1024 | Saves out a 1024x1024 texture applied to the Shadow Plane. | ||||||
2048 | Saves out a 2048x2048 texture applied to the Shadow Plane. | ||||||
Pitch | Adjust the lateral axis of the projection of the Shadow Plane. Both the Pitch and Yaw will adjust the angle of the shadows, so that if needed, you can make the shadows match your scene’s lighting more accurately. Numeric Range:
| ||||||
Yaw | Adjust the perpendicular projection of the Shadow Plane. Both the Pitch and Yaw will adjust the angle of the shadows, so that if needed, you can make the shadows match your scene’s lighting more accurately. For Yaw you must have a number in Pitch other than 0 to see the effects. Numeric Range:
|
512
Defaulted value. Saves out a 512x512 texture applied to the Shadow Plane.
1024
Saves out a 1024x1024 texture applied to the Shadow Plane.
2048
Saves out a 2048x2048 texture applied to the Shadow Plane.