Posts: 3.526
Threads: 6
Joined: Dec 2013
08-16-2015, 06:23 PM
(This post was last modified: 08-16-2015, 06:25 PM by dabore.)
well... yeh. that'd mean default. the exact behaviour. relevant only for upscaling tho. and...
[rant]it's a lil tricky definition how default that 2d is to be upscaled tho. if the 2d in the game is rendered with filter too - maybe cause it's not pixel precise art - this can look weird. in that cases or generally hardcore pixel art games you just gotta render it in it's native glory. and blit it to the screen unfiltered. that's that done as precise as possible real quick. ofc this got it's scaling issues too. the irregular duplicating lines on arbitrary scales. does custom resolution help there? cause there's only that render to screen size trick. texture sample this 2d with coordinates from the screen resolution. pixel precise on target. might get a lil better picture. i dunno how alpha transparency samples in that tho. and how that works if you need sharp alpha clipping. but the "scaling" is a lil different. i thought about that a couple of times already. i got no idea howto implement that tho. or howto modify the custom resolution to get it that precise and easy.[/rant]