-
-
Notifications
You must be signed in to change notification settings - Fork 305
BloomEffect #894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
BloomEffect #894
Conversation
|
Actual really cool usage of bitmapfilter actually I just feel like instead of a specific bloomeffect though, might be better to make a generic MultiPassShaderFilter with a bloom filter as an example? |
Yes, that's exactly what I thought before working on this. Unfortunately, I'm not very skilled at writing source code, so I can't implement this feature myself.However, if this bloom effect meets my optimization goals, it should still deliver decent performance on most low-end devices. I'm thinking of something like the bloom quality you see in Roblox? |
|
oh my??? |
|
Currently supports blurX and blurY. Future additions may include:
(If I can successfully implement a reduction in the bloom resolution, the performance will improve by leaps and bounds. Even if it's only rendering at 270p while outputting at 1080p, the visual result would still be perfectly acceptable. The number of pixels the bloom effect needs to process would then be just 6.25% of the original amount.) |
This bloom effect is modified based on OpenFL's BlurFilter, achieving a result that is difficult for HScript to replicate with equivalent performance. Currently in its early stage and merely functional, I anticipate adding more optimization settings, such as bloom blend modes, custom brightness weighting, among other visual options, as well as improving the comments.
