History

Fix deferred lighting for rear view mirror.

Andrzej Kapolka committed 12 years ago

Commit e36ff0d1 parent f8772134 files · +19 −15Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -695,8 +695,6 @@ void Application::paintGL() { · 694 unmodified lines
695695 displaySide(whichCamera);
696696 glPopMatrix();
697697
698− _glowEffect.render();
699−
700698 if (Menu::getInstance()->isOptionChecked(MenuOption::Mirror)) {
701699 renderRearViewMirror(_mirrorViewRect);
702700
@@ -704,6 +702,8 @@ void Application::paintGL() { · 1 unmodified line
704702 _rearMirrorTools->render(true);
705703 }
706704
705+ _glowEffect.render();
706+
707707 {
708708 PerformanceTimer perfTimer("renderOverlay");
709709 // PrioVR will only work if renderOverlay is called, calibration is connected to Application::renderingOverlay()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t