Loading...
  OR  Zero-K Name:    Password:   

Bloom Shader 0.5

30 posts, 1896 views
Post comment
Filter:    Player:  
Page of 2 (30 records)
sort
Beherith had done some improvements to the bloom shader, and it's the only version of the shader so far that works for me. In case some people are interested, here is a screenshot comparison and link.



http://imolarpg.dyndns.org/trac/balatest/browser/branches/BAR/luaui/widgets/gfx_bloom_shader.lua
+2 / -0


11 years ago
Does this version of the bloom shader do any tone mapping? I'm guessing no, as that would either need to be done during the main lighting pass, or the output of the main lighting pass would need to involve 16 bit or 32 bit colour channels.
+0 / -0

11 years ago
No tone mapping. I believe Beherith is working on a more comprehensive shader system that will include bloom among other things; not sure if he has any plans for tone mapping though.

Reference:
http://springrts.com/phpbb/viewtopic.php?f=23&t=30613#p545899
+0 / -0
11 years ago
Would he mind if we steal this? I have always wanted bloom in ZK.
+0 / -0


11 years ago
Kloot wrote it and the license is the empty string.
+0 / -0


11 years ago
V0.31 already exists in the f11 menu. That's why I asked about tone mapping, since that version doesn't set up anything for it.
+0 / -0
11 years ago
Not sure if i like it more with that shader but it seems like big players are using it :)
+1 / -0
Bloom can look good, but it needs to be subtle. I've found that a 20px wide 1-pass blur (5px at 1/16th size image in practice) with an exposure value of 2.2 (which after exponential tone mapping means a threshold value of 0.889) looks quite good. I'll post some relevant screenshots once I get to my desktop.

Lava: with Bloom, without Bloom
Specular highlight: with Bloom, without Bloom
Snow: with Bloom, without Bloom
+1 / -0
11 years ago
Personally I like UT3 style bloom, or CryEngine bloom. You know, where looking at a light will completely blind you. I would like a slider to adjust how bright it is.
+0 / -0
Skasi
11 years ago
Zero-K is a computer game that we want to advertise for providing powerful controls. Why would you want to make players completely blind using bright light, Spongie?
+0 / -0
11 years ago
We don't need to blind people with bright light, I mean that people will want different amounts of bloom and it should have a slider.
+0 / -0
Skasi
11 years ago
Oh, yeah that's a good point. Moar options! :D
+1 / -0

11 years ago
Guys the version in ZK already has a slider. Look under Settings > Graphics > Effects

+0 / -0
11 years ago
This is probably a really stupid question, but does this have to use on LuaShaders? LuaShaders is one of the broken things with spring on intel graphics.
+0 / -0
quote:
LuaShaders

Yes, it's a GLSL shader loaded with lua, so LuaShader.
+0 / -0
I don't mean to ressurect, but is this getting out into ZK anytime? I ask because I was playing around with v0.31 that is currently bundled with ZK, and I ended up implementing a lot of the improvements of v0.5 (though the bright pixel renormalization is done better in the 0.5 code, line 319 in the repo link), along with a couple of other changes and bug fixes, and I'd rather not fork this if possible.
+0 / -0


10 years ago
quote:
is this getting out into ZK anytime

Ambiguous reference "this".

Did you mean the behe bloom shader? Afaik all behe/BAR shaders are on lockdown until their planned release on Christmas.
+0 / -0


10 years ago
By "this" I meant either Bloom Shader 0.5 or an independent update to Bloom Shader 0.31, though ideally it would be 0.5 or a version based on 0.5.
+0 / -0
10 years ago
quote:
all behe/BAR shaders are on lockdown

Aren't they in the BAR repo?
+0 / -0
They are in the repo (that's how I was able to compare it this morning to what I did on my own last night to v0.31, which has been in ZK repo for a while), but. Beherith has asked that they aren't used in other Spring games until the release of BAR.
+0 / -0
Page of 2 (30 records)