[EFFECT] Adjust HSB

Share your Construct 2 effect files

Post » Fri Jan 23, 2015 9:20 am

Hi, all!

Since the official stance on the buggy (on some systems?) HSL Adjust effect has been "That's standard behaviour as far as we can tell" (no offense to Ashley) and R0J0's replacement Hue effect didn't work on my system I went ahead and did some research.

This thread had a similar issue: http://gamedev.stackexchange.com/questi ... brightness and a fine gentleman by the name of Sam Hocevar had supplied a solution.

Since my understanding of shaders is basic at best I didn't try to "fix" the HSL into this, but adapted the HSB adjustment (which in many cases is actually more versatile) and here is the result:
17881dc1-2680-43e0-90dc-6f5ad953da3b.png


Adjust HSL on the right, Adjust HSB on the left. Speaks for itself, I think.

There is a capx in the Archive - if you could open that and have a look I would be quite grateful - does the hue work in the editor? Does it work at runtime? Do things look correct? Is the HSL glitchy for you as well?

If someone knowledgeable in Shaders could check if things are done right I'd be quite grateful as well. Cheers.

Edit: Moved to the main thread here: effects-by-somebody-adjust-hsb-trim-shift-dissolv_p877848?#p877848
You do not have the required permissions to view the files attached to this post.
Last edited by Somebody on Sun Jan 25, 2015 12:16 pm, edited 1 time in total.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Sat Jan 24, 2015 7:33 am

Finally got around to have a look at the SDK and made the easy-to-use c2addon package:

https://www.dropbox.com/s/lc785d06b9hsx ... addon?dl=0

Save and just drag into an open C2 window to install.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Sat Jan 24, 2015 4:07 pm

Nice!!
Added :-)
B
59
S
20
G
14
Posts: 779
Reputation: 13,857


Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests