pull/903/head
scrawl 9 years ago
parent 0db7163363
commit 8f81df2bd3

@ -15,7 +15,6 @@
#include <osg/FrontFace>
#include <osg/Shader>
#include <osg/GLExtensions>
#include <osg/UserDataContainer>
#include <osgDB/ReadFile>

@ -7,7 +7,6 @@
#include <osgParticle/ModularEmitter>
#include <osg/NodeCallback>
#include <osg/UserDataContainer>
#include <components/nif/nifkey.hpp>
#include <components/nif/data.hpp>

@ -167,7 +167,6 @@ namespace Shader
boost::replace_last(specularMap, ".", mSpecularMapPattern + ".");
if (mImageManager.getVFS()->exists(specularMap))
{
std::cout << "using specmap " << specularMap << std::endl;
osg::ref_ptr<osg::Texture2D> specularMapTex (new osg::Texture2D(mImageManager.getImage(specularMap)));
specularMapTex->setWrap(osg::Texture::WRAP_S, diffuseMap->getWrap(osg::Texture::WRAP_S));
specularMapTex->setWrap(osg::Texture::WRAP_T, diffuseMap->getWrap(osg::Texture::WRAP_T));

@ -2,7 +2,6 @@
#include <memory>
#include <osg/UserDataContainer>
#include <osg/Material>
#include <OpenThreads/ScopedLock>

Loading…
Cancel
Save