I
Ian
Guest
Just practicing with surfaces and realized drawing functions on the app surface have a different resolution than those on another even though both surfaces are the same size:
App surface:
Other surface (fxaa_surf):
Code:
Can I get the same quality the app surface is giving with a surface i make? Am i doing something wrong?
EDIT------------------------------------------
Heres another example of actually being scaled (960x540 > 1920X1080):
This one is in a blank project to rule anything else out in the main project since theres a lot more going on and still has the problem.
Boths surfaces resolution are the same but fxaa_surf (bottom) looks like 960x540 even tho the surface itself is the same as the app surface
App surface:
Other surface (fxaa_surf):
Code:
Code:
///Create
width = surface_get_width(application_surface);
height = surface_get_height(application_surface);
fxaa_surf = surface_create(width,height);
Code:
///Draw end
surface_set_target(fxaa_surf)
draw_clear_alpha(c_black,0);
draw_circle(xx,yy,radius,1);
surface_reset_target();
if(surface_exists(fxaa_surf))
{
draw_surface(fxaa_surf,0,0);
}
else
{
fxaa_surf = surface_create(width,height);
}
EDIT------------------------------------------
Heres another example of actually being scaled (960x540 > 1920X1080):
This one is in a blank project to rule anything else out in the main project since theres a lot more going on and still has the problem.
Boths surfaces resolution are the same but fxaa_surf (bottom) looks like 960x540 even tho the surface itself is the same as the app surface
Last edited by a moderator: