Prescaler disable?

Previous topic - Next topic

mrplant

Hi.

I am still trying to work out what has changed between versions 12 and 14 to cause my built in scaling code to suddenly mess up and have slight pixel corruption with the odd slight gap between graphics etc. Almost like rounding errors.

It all works well on 12 and I know 14 introduced a pre scaler .

I am wondering is there a way to turn this off or at least make its effect not noticeable?

Thanks

spacefractal

Its disabled by default.

Its more smoothshading issue (I'm not home, so I'm might have spelled it). Rounding errors might happens when that is enabled, but prescaling does nothing by default.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

erico

yep, check the alphamodes and the alphatesting commands, it is probably related to the latest.
see here:
http://www.glbasic.com/xmlhelp.php?lang=en&id=408&action=view

spacefractal

im home again. Those commands can effect it:

SETTRANSPARENCY
ALPHATESTING
SMOOTHSHADING

In my games for tiles, im need to disable SMOOTHSHADING to FALSE to avoid those edge artifacts.

Also make sure you dont use a float when using tiles.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/