History

Use deferred lighting for voxels as well as metavoxels.

Andrzej Kapolka committed 12 years ago

Commit e6f37541 parent c2b58c916 files · +114 −206Browse files

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

Unified · Split

interface/src/Application.cpp+3−1
@@ -2842,8 +2842,10 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) { · 2841 unmodified lines
28422842 _audioReflector.render();
28432843 }
28442844
2845− // Draw voxels
2845+ _deferredLightingEffect.prepare();
28462846 bool deferredLightingRequired = false;
2847+
2848+ // Draw voxels
28472849 if (Menu::getInstance()->isOptionChecked(MenuOption::Voxels)) {
28482850 PerformanceTimer perfTimer("voxels");
28492851 PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings),

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