Skip to content

Commit

Permalink
Added shaders for each material/lighting combination.
Browse files Browse the repository at this point in the history
  • Loading branch information
leozide committed Feb 28, 2017
1 parent fa099a1 commit 7e3f572
Show file tree
Hide file tree
Showing 12 changed files with 320 additions and 168 deletions.
2 changes: 1 addition & 1 deletion common/camera.cpp
Expand Up @@ -468,7 +468,7 @@ void lcCamera::CopyPosition(const lcCamera* camera)

void lcCamera::DrawInterface(lcContext* Context) const
{
Context->SetProgram(LC_PROGRAM_SIMPLE);
Context->SetMaterial(LC_MATERIAL_SIMPLE);

lcMatrix44 ViewWorldMatrix = lcMatrix44AffineInverse(mWorldView);
ViewWorldMatrix.SetTranslation(lcVector3(0, 0, 0));
Expand Down

0 comments on commit 7e3f572

Please sign in to comment.