1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 21:09:41 +00:00

Clang format

This commit is contained in:
Mads Buvik Sandvei 2025-01-26 19:23:12 +01:00
parent 152dfacab2
commit efe72ea2d5
2 changed files with 2 additions and 3 deletions

View file

@ -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));

View file

@ -8,7 +8,6 @@
#include <osg/LightSource>
#include <osg/PolygonMode>
#include <osg/Texture2D>
#include <osg/Texture2DArray>
#include <osgDB/ReadFile>