Skip to content

Commit

Permalink
Update for API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Dec 10, 2023
1 parent 9fcd9a3 commit 06962a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RavEngine
3 changes: 1 addition & 2 deletions Samples/Rendering/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ struct Level : public RavEngine::World {
star.GetTransform().LocalTranslateDelta({objectDistance,5,0});

// post procesing
auto bloomEffect = New<BloomEffect>();
auto bloomEffectInstance = New<BloomEffectInstance>(bloomEffect);
auto bloomEffectInstance = New<BloomEffect>();

GetApp()->GetRenderEngine().globalEffects.effects.push_back(bloomEffectInstance);
}
Expand Down

0 comments on commit 06962a3

Please sign in to comment.