# ShadowUtils.h File Reference

## Functions
void | CreateShadowBuffer (IShChannel **zBuffer, TTransform3D globalToCamera, I3DShCamera *camera, const I3DShLightsource *light, TBBox2D &uvBox, I3DShScene *scene, uint32 resolution, uint32 blur=0, boolean useAverageZ=false)
void | CreateCameraFromLight (I3DShCamera **camera, TBBox2D &uvBox, TTransform3D &transform, real halfAngle)

## Function Documentation

void CreateCameraFromLight | ( | I3DShCamera ** | camera,
|  | TBBox2D & | uvBox,
|  | TTransform3D & | transform,
|  | real | halfAngle |
| ) |  |  |

void CreateShadowBuffer | ( | IShChannel ** | zBuffer,
|  | TTransform3D | globalToCamera,
|  | I3DShCamera * | camera,
|  | const I3DShLightsource * | light,
|  | TBBox2D & | uvBox,
|  | I3DShScene * | scene,
|  | uint32 | resolution,
|  | uint32 | blur = `0`,
|  | boolean | useAverageZ = `false` |
| ) |  |  |