Skip to content

Commit

Permalink
Implement PBR Shaders (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Apr 16, 2022
1 parent 36cd133 commit 1cb7adc
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,11 @@ struct ERS_STRUCT_PointLight {

std::string UserDefinedName; /**Name of the light assigned by user*/

float RolloffConstant; /**<Rolloff constant*/
float RolloffLinear; /**<Rolloff constant*/
float RolloffQuadratic; /**<Rolloff constant*/
float Intensity; /**<Intensity of the light*/

std::vector<long> AttachedScriptIndexes_; /**<Indexes of attached scripts (index in the project struct's list of scripts)*/

glm::vec3 Ambient; /**<Ambient color of the light*/
glm::vec3 Diffuse; /**<Ambient color of the light*/
glm::vec3 Specular; /**<Ambient color of the light*/
glm::vec3 Color; /**<Color of the light*/

glm::vec3 Pos; /**<Position*/

Expand Down

0 comments on commit 1cb7adc

Please sign in to comment.