Skip to content

Commit

Permalink
fixed bug on applying glow factor
Browse files Browse the repository at this point in the history
  • Loading branch information
codex128 committed Mar 19, 2024
1 parent 4b31f76 commit 66dba26
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public void beforeRender() {

material = new Material(assetManager, "Common/MatDefs/Post/PBRBloomFinal.j3md");
material.setTexture("GlowMap", upsamplingPasses[upsamplingPasses.length-1].getRenderedTexture());
material.setFloat("GlowFactor", glowFactor);

initialized = true;

Expand Down

0 comments on commit 66dba26

Please sign in to comment.