4 registered members (M_D, AndrewAMD, Quad, Ayumi),
806
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: A8 Postprocessing Shaders + Framework
[Re: 3run]
#413685
12/16/12 12:20
12/16/12 12:20
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
what about a video grain effect and tone mapping? Simple to create and gives nice results
POTATO-MAN saves the day! - Random
|
|
|
Re: A8 Postprocessing Shaders + Framework
[Re: 3run]
#413687
12/16/12 12:27
12/16/12 12:27
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Thank you 3run but I'm not really interested in this shader-collection 'cause I'm experienced enough to write my own ...but I have to say it's a nice idea and HeelX will do a great job on it I just wanted to give some ideas and all these pp-effects could be implemented into one single shader for good performance
Last edited by Kartoffel; 12/16/12 12:27.
POTATO-MAN saves the day! - Random
|
|
|
Re: A8 Postprocessing Shaders + Framework
[Re: Kartoffel]
#413791
12/17/12 21:53
12/17/12 21:53
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
The next effect is something easy: a grayscale shader. It supports 8 different modes. This shader is also a nice example how to use the .technique feature of Gamestudio The download link is in the first post of this thread. Grayscale shader: P.S: if you use an alpha below 0%, you BOOST your colors by their calculated luminance and if the alpha is above 100%, the colors get INVERTED and are boosted if above 200%!
Last edited by HeelX; 01/24/13 01:05.
|
|
|
Re: A8 Postprocessing Shaders + Framework
[Re: KingdaKa]
#414134
12/23/12 18:32
12/23/12 18:32
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
I added a Sepia Tone effect with 4 different modes: Tint, Matrix, Duotone and YIQ. The download link is in the first post of this thread. - Tint: the pixel is converted to grayscale and an offset is added for each R-, G- and B-channel - Matrix: the pixel's RGB color is multiplied with a matrix which returns a sepia tone - Duotone: the grayscale value of the pixel is used to blend beween two sepia'ish colors - YIQ: the pixel's color is converted from RGB color space to YIQ color space, modified to a sepia color and translated back into RGB color space Sepia effect: When adjusting the alpha parameter, you can blend the Sepia tone with the original image to control the style of your game. Especially the YIQ- and Duotone-mode are useful. If you change the YIQ-target color and tune down the alpha, you can make the scene "feel" colder or warmer. With the Duotone-mode you can produce arbitrary duotone images.
Last edited by HeelX; 01/24/13 01:09.
|
|
|
|