Skip to content

Built-in functions - Rendering

Utility functions related to rendering


hsRenderingSetLightDir

void hsRenderingSetLightDir(Vector3 Dir)

Designates light direction.

hsRenderingSetLightColor

void hsRenderingSetLightColor(float R, float G, float B)

Designates light color.

hsRenderingSetLightScattering

void hsRenderingSetLightScattering(float BetaR, float BetaM, float G, float Distance, float LightColorR, float LightColorG, float LightColorB, float SunColorR, float SunColorG, float SunColorB)

Designates settings related to light scattering.