EDIT: I think the filter is fine when scaled down and it was just my impression. Though to be safe I would like to know if the code down there is the 'correct' way of doing this. The code below happens 2 frames after resizing to not do everything at once.
Hi, loving the filter so far however I have a small problem/question.
I've setup a custom camera that is able to resize my window to WINDOW_SIZE * WINDOW_SCALE to keep the aspect ratio. When starting the game in fullscreen the filter works and looks great. However when scaling the game to a window size the filter pixel size looks way too big and not that good anymore but this might also be my eyes.
I am changing the following parameters of the shader when resizing:
if (instance_exists(oSystemManager.crt_filter))
{
oSystemManager.crt_filter.output_width = GAME_WIDTH * window_scale;
oSystemManager.crt_filter.output_height = GAME_HEIGHT * window_scale;
oSystemManager.crt_filter.update_uniforms();
oSystemManager.crt_filter.resize_surfaces();
}
Hope this code is readable. Anything I can do about it looking worse when windowed or is the filter just only made for fullscreen? And is this the correct way of setting values of a preset in runtime?
Thank you very much for any help in advance.