Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, where can I find the readme file with the documentation for this shader? I'm having trouble implementing it. I already have the PPFX package and tried to include the new effect into the main effects profile via the new FX_Sketch function (after adding it to the external FX), but it came out with once quarter of the image black and white the others partly outlined and weird artefacts everywhere (I can't seem to upload images right now). 

So I must be doing something wrong :-) 

Hello!

For use with Post-Processing FX, the effect should be treated as an external effect, and added in the way described in the tutorial. The effect should be drawn by PPFX itself, rather than manually, so the resolution will be the same and the effect will work correctly.

Thank you for replying! I'm sorry to bother you with this - I may just be too inexperienced to solve this. I followed the tutorial you linked, but I'm unsure what you mean with 'the effect should be drawn by PPFX itself". After adding FX_Sketch to the xternal effects like the tutorial described I did this:


// CREATE EVENT

var effects = [

new FX_Sketch(true),

];

main_profile = new PPFX_Profile("Main", effects);

ppfx_id.ProfileLoad(main_profile);



// POST DRAW EVENT

ppfx_id.DrawInFullscreen(application_surface);



Is this wrong?

(2 edits)

The code looks correct, what issue are you having exactly? Could you post it on imgur so I can take a look? A screenshot or video maybe

Also, what operating system are you testing on?

(1 edit)

Here is a screenshot: https://imgur.com/a/TY6dFkA

I'm using Windows 10 and GameMaker Studio 2


Edit: Actually, maybe this screenshot is more helpful: It is the Main menu and in the background there are background images from other rooms that should not be in the main menu: https://imgur.com/a/mFSqSQI

Ahhh okay, it's not exactly a bug, but the effect is displaying a texture page from the game, because some texture is not associated with the effect. I'm not sure which texture exactly, though... This didn't happen before, so either a GM update did this, or some texture is set incorrectly. Could you check if the textures for the effect are defined correct, and not defined to something like -1?

As far as I can see all textures seem to be defined correctly: https://imgur.com/a/PLQpVf

Could you send the project to me (on Discord: @foxyofjungle) so I can take a look?