Post-Processing FX v5.0 BETA 2


I have updated the "Post-Processing FX v5.0 Beta" source code again with the changes below :)

Note that in this version, I had to do a BIG rework of the renderer, so that it would be possible to use custom effects again, and more easily, without extra setup. So the `FX_EFFECT` enum was replaced by several macros that start with `FF_`. So you can use CTRL + Shift + F and replace all `FX_EFFECT.` with this: `FF_` in your code. Make backups first.

[ADDED] New way to use external/custom effects. Now no additional script is needed, just use "new FX_Name" directly in the profile!
[ADDED] The .ProfileLoad() method now avoids loading invalid effects.
[ADDED] More interesting debug messages from .ProfileLoad().
[ADDED] "isExternalEffect" parameter to effects constructor. Use this to indicate that your effect is external/custom.
[ADDED] .SetTimer() to PPFX_Renderer().
[FIXED] The PPFX_Renderer() now checks whether the input surface has zero size, preventing errors.
[FIXED] .SetEffectParameters() from PPFX_Renderer() performance improved.
[FIXED] .SetDeltaTime() from PPFX_Renderer() was not returning self.
[FIXED] Some Feather docs.
[CHANGED] Renamed PP_SUNSHAFTS_RAYS_NOISE_TEX to PP_SUNSHAFTS_RAYS_NOISE_TEXTURE.
[CHANGED] Renamed PP_CHROMABER_PRISMA_LUT_TEX to PP_CHROMABER_PRISMA_LUT_TEXTURE.
[CHANGED] Renamed PP_MIST_NOISE_TEX to PP_MIST_NOISE_TEXTURE.
[CHANGED] Renamed PP_SPEEDLINES_NOISE_TEX to PP_SPEEDLINES_NOISE_TEXTURE.
[CHANGED] Renamed PP_NOISEGRAIN_NOISE_TEX to PP_NOISEGRAIN_NOISE_TEXTURE.
[CHANGED] FXAA effect is now applied after Sharpen effect, improving a lot the final result.
[REMOVED] __ppf_include_external_effects() and __ppf_include_external_shared_stacks() functions. Effects can now be used in profiles as-is.
[REMOVED] FX_EFFECT_EXT enum. Now you can write your own effect name using macros. This eliminates the confusion of referencing internal effects with FX_EFFECT and FX_EFFECT_EXT as external.
[REMOVED] All global variables from PPFX, making it cleaner.

Documentation also updated to v5:

https://kazangames.com/assets/ppfx/docs/v5/

You can still access the v4:

https://kazangames.com/assets/ppfx/docs/v4/

Files

PostProcessingFX_v5.0_BETA.yymps 2.1 MB
3 days ago
PostProcessingFX_v5.0_BETA_Example.yyz 37 MB
3 days ago
License.txt 11 kB
3 days ago

Get Post-Processing FX

Buy Now$49.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.