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

Post edit history

More casts!

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
10/5/2013 2:33:50 AMCArankAdminShadowfury333 before revert after revert
10/5/2013 2:32:54 AMCArankAdminShadowfury333 before revert after revert
10/5/2013 2:32:28 AMCArankAdminShadowfury333 before revert after revert
Before After
1 @CrazyEddie 1 @CrazyEddie
2 [quote]I wish you'd adjust the brightness to make the dark maps not so dark and the bright maps not so bright.[/quote] 2 [quote]I wish you'd adjust the brightness to make the dark maps not so dark and the bright maps not so bright.[/quote]
3 The easiest way to accomplish this is via tone mapping, as I mentioned elsewhere. [url=http://www.wolframalpha.com/input/?i=y+%3D1-e%5E%28-2.2*x%29+and+y+%3D+x+from+0+to+1]This graph[/url] shows that it does exactly what you want, and it also nicely allows for bloom shaders to have a single threshold value for everything that makes physical sense (i.e. everything brighter than 1.0, and with proper use of logarithms the initial brightness above 1.0 can be used to determine the bloom colour and strength). 3 The easiest way to accomplish this is via tone mapping, as I mentioned elsewhere. [url=http://www.wolframalpha.com/input/?i=y+%3D1-e%5E%28-2.2*x%29+and+y+%3D+x+from+0+to+1]This graph[/url] shows that it does exactly what you want, and it also nicely allows for bloom shaders to have a single threshold value for everything that makes physical sense (i.e. everything brighter than 1.0, and with proper use of logarithms the initial brightness above 1.0 can be used to determine the bloom colour and strength).
4 \n 4 \n
5 As an aside, implementing this and a bloom shader to go with it was the first thing I did when I got my current job.
6 \n
5 However, I'm not sure how possible it is to intercept Spring's standard lighting and shading (assuming it even uses shaders), so this may be an engine-side thing rather than a LuaGL thing. 7 However, I'm not sure how possible it is to intercept Spring's standard lighting and shading (assuming it even uses shaders), so this may be an engine-side thing rather than a LuaGL thing.
6 \n 8 \n
7 @CrazyEddie 9 @CrazyEddie
8 [quote]I wish the teamcolors were more prominent.[/quote] 10 [quote]I wish the teamcolors were more prominent.[/quote]
9 Is that an option? If so I'll go configure that, because I want them to be at-a-glance obvious for everything. 11 Is that an option? If so I'll go configure that, because I want them to be at-a-glance obvious for everything.