removed old normal support from voxel system only using global normals
Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1588,7 +1588,6 @@ void Application::init() { · 1587 unmodified lines | |||
| 1588 | // Set up VoxelSystem after loading preferences so we can get the desired max voxel count | 1588 | // Set up VoxelSystem after loading preferences so we can get the desired max voxel count |
| 1589 | _voxels.setMaxVoxels(Menu::getInstance()->getMaxVoxels()); | 1589 | _voxels.setMaxVoxels(Menu::getInstance()->getMaxVoxels()); |
| 1590 | _voxels.setUseVoxelShader(Menu::getInstance()->isOptionChecked(MenuOption::UseVoxelShader)); | 1590 | _voxels.setUseVoxelShader(Menu::getInstance()->isOptionChecked(MenuOption::UseVoxelShader)); |
| 1591 | _voxels.setUseByteNormals(Menu::getInstance()->isOptionChecked(MenuOption::UseByteNormals)); | ||
| 1592 | _voxels.init(); | 1591 | _voxels.init(); |
| 1593 | 1592 | ||
| 1594 | 1593 | ||