System: Scar
>
Functions | |
| void | createDirLight (const char *name, vector3 pos, vector3 colour) |
| Creates a new directional light pos: position of the light Colour values > 1.0 are assumed to be byte [0..255] values and scaled so we get a vector instead. | |
| void | createAmbientLight (const char *name, vector3 diffuse) |
| Creates a new Ambient Light Colour values > 1.0 are assumed to be byte [0..255] values and scaled so we get a vector instead. | |
| void | setLightColour (const char *name, vector3 diffuse) |
| Changes the diffuse parameter of the name light Colour values > 1.0 are assumed to be byte [0..255] values and scaled so we get a vector instead. | |
| void | setLightSpecular (const char *name, vector3 specular) |
| Changes the specular parameter of the name light. | |
| void | setGlareIntensity (real32 intensity) |
| Changes the global value of the glare, intensity needs to be [0..1]. | |
| void | setUseLighting (int lighting) |
| Obsolete. | |
| void | playBgLightAnim (const char *refFxName) |
| Plays a background light animation. | |
1.3-rc3