CG-Project2
Loading...
Searching...
No Matches
light Namespace Reference

Enumerations

enum  LightType { LIGHT_DIRECTIONAL , LIGHT_POINT , LIGHT_SPOT }
 Lights type used in shader programs. More...

Variables

std::vector< LightComputation > lightCompsEnm {NONE, PHONG, BLINN_PHONG, INT_PHONG, INT_BLINN_PHONG}
 list of light algorithms for shader programs
std::vector< std::string > lightCompStr = {"None", "Phong", "Blinn-Phong", "Int Phong", "Int Blinn-Phong"}
 list of strings for each LightComputation

Detailed Description

Desc.

TODO put everything of this file in the namespace light.

Enumeration Type Documentation

◆ LightType

Lights type used in shader programs.

This enum is needed to distinguish the lights in shader computation.