naev 0.12.5
Lighting Struct Reference
Collaboration diagram for Lighting:

Data Fields

double ambient_r
double ambient_g
double ambient_b
Light lights [MAX_LIGHTS]
int nlights
double intensity

Detailed Description

Definition at line 217 of file gltf.h.

Field Documentation

◆ ambient_b

double Lighting::ambient_b

Ambient lighting.

Definition at line 218 of file gltf.h.

◆ ambient_g

double Lighting::ambient_g

Definition at line 218 of file gltf.h.

◆ ambient_r

double Lighting::ambient_r

Definition at line 218 of file gltf.h.

◆ intensity

double Lighting::intensity

Scales the intensity of the lights globally.

Definition at line 222 of file gltf.h.

◆ lights

Light Lighting::lights[MAX_LIGHTS]

Standard lights.

Definition at line 219 of file gltf.h.

◆ nlights

int Lighting::nlights

Number of lights being used. Has to be less than MAX_LIGHTS.

Definition at line 220 of file gltf.h.


The documentation for this struct was generated from the following file: