using two gaussian bloom at the same time

  • Posts: 54
1 year 3 months ago #1 by sets
i'm using two gaussian bloom at the same time because i want to have two bloom tint, what i did is copy paste gaussian bloom and rename it to gaussianbloom2.fx. It works but i wonder if is there a better way than this ? liker merger two become one with two bloom tint settings because running two gaussian bloom at the same time is heavy impact on performance.

i also get this warning
\gaussianbloom2.fx (141,19-56) : warning x3595: gradient instruction used in a loop with varying iteration; partial derivatives may have undefined value

Please Log in or Create an account to join the conversation.

  • Posts: 1221
1 year 3 months ago #2 by Marty McFly
Gaussian of a gaussian is a gaussian so the result is just a larger blur with gaussian properties. So using 2x tint should be pretty easy to pull off with 1 blur only. I couldn't find such an effect in the github repo though, would you mind posting the file here so I can check?

Please Log in or Create an account to join the conversation.

  • Posts: 54
1 year 3 months ago - 1 year 3 months ago #3 by sets
here is the file
www67.zippyshare.com/v/Lg8XP040/file.html

also this is my settings, you can see they have same values, different bloom tint, would be nice if you can merge them :woohoo:

i.postimg.cc/RZN7Zqfs/settings.jpg

Please Log in or Create an account to join the conversation.

  • Posts: 54
1 year 2 months ago #4 by sets
any updates on this ? :P

Please Log in or Create an account to join the conversation.