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 15, 2022
1 parent 6e9a210 commit a0bc276
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ void ERS_CLASS_VisualRenderer::CreateViewport(std::string ViewportName) {
Viewport->ShaderIndex = DefaultShader_;
Viewport->Camera = std::make_unique<ERS_STRUCT_Camera>();
Viewport->Grid = std::make_unique<ERS_CLASS_Grid>(SystemUtils_, Shaders_[FindShaderIndex(std::string("_Grid"))]);
Viewport->LightIconRenderer = std::make_unique<ERS_CLASS_LightIconRenderer>(OpenGLDefaults_, SystemUtils_, Shaders_[FindShaderIndex(std::string("LightIcon"))]); //Set TO Shader 19 For Billboard Shader, Temp. Disabled As It Doesn't Work ATM
Viewport->LightIconRenderer = std::make_unique<ERS_CLASS_LightIconRenderer>(OpenGLDefaults_, SystemUtils_, Shaders_[FindShaderIndex(std::string("_LightIcon"))]); //Set TO Shader 19 For Billboard Shader, Temp. Disabled As It Doesn't Work ATM
Viewport->Name = ViewportName;

Viewport->Width = 1;
Expand Down

0 comments on commit a0bc276

Please sign in to comment.