Skip to content

Commit

Permalink
Merge pull request #134 from timoore/assimp-cleanup
Browse files Browse the repository at this point in the history
Remove obsolete shader define
  • Loading branch information
robertosfield authored Nov 24, 2022
2 parents faaac75 + 2e80982 commit d7af83a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/assimp/assimp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,6 @@ void SceneConverter::convert(const aiMesh* mesh, vsg::ref_ptr<vsg::Node>& node)
}

auto config = vsg::GraphicsPipelineConfigurator::create(material.shaderSet);
auto& defines = config->shaderHints->defines = material.defines;

config->inputAssemblyState->topology = topology;
auto indices = createIndices(mesh, numIndicesPerFace, numIndices);
Expand Down Expand Up @@ -661,7 +660,6 @@ void SceneConverter::convert(const aiMesh* mesh, vsg::ref_ptr<vsg::Node>& node)
// set up ViewDependentState
if (useViewDependentState)
{
defines.insert("VSG_VIEW_LIGHT_DATA");
vsg::ref_ptr<vsg::ViewDescriptorSetLayout> vdsl;
if (sharedObjects)
vdsl = sharedObjects->shared_default<vsg::ViewDescriptorSetLayout>();
Expand Down

0 comments on commit d7af83a

Please sign in to comment.