mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 21:09:41 +00:00
Clang format
This commit is contained in:
parent
152dfacab2
commit
efe72ea2d5
2 changed files with 2 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
|||
#include <cmath>
|
||||
|
||||
#include <osg/BlendFunc>
|
||||
#include <osg/Texture2DArray>
|
||||
#include <osg/Camera>
|
||||
#include <osg/Fog>
|
||||
#include <osg/LightModel>
|
||||
|
@ -259,7 +258,8 @@ namespace MWRender
|
|||
|
||||
// TODO: Clean up this mess of loose uniforms that shaders depend on.
|
||||
// turn off sky blending
|
||||
int skyTextureSlot = mResourceSystem->getSceneManager()->getShaderManager().reserveGlobalTextureUnits(Shader::ShaderManager::Slot::SkyTexture);
|
||||
int skyTextureSlot = mResourceSystem->getSceneManager()->getShaderManager().reserveGlobalTextureUnits(
|
||||
Shader::ShaderManager::Slot::SkyTexture);
|
||||
stateset->addUniform(new osg::Uniform("far", 10000000.0f));
|
||||
stateset->addUniform(new osg::Uniform("skyBlendingStart", 8000000.0f));
|
||||
stateset->addUniform(new osg::Uniform("sky", skyTextureSlot));
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <osg/LightSource>
|
||||
#include <osg/PolygonMode>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/Texture2DArray>
|
||||
|
||||
#include <osgDB/ReadFile>
|
||||
|
||||
|
|
Loading…
Reference in a new issue