Game Development Community

- Wrong Section - Disabling Sprite Alias

by Dale Evjen · in Torque X 2D · 09/05/2012 (5:54 pm) · 3 replies

I posted this in the wrong section, it should be in TGB


Hello

How do you disable rendering Alias for all 2D objects in TGB. So that the pixel's edge will be sharp when scaled up.

It would help with my workflow in creating a pixel styled game. Not having two copies for all sprites, one to edit, another to load ingame.

Would help reduce image errors I'm been working with, IDAT's in .png s.

Thank you.

About the author

Recent Threads

  • Disabling Sprite Alias

  • #1
    09/06/2012 (4:06 pm)
    Figured out a partial solution.

    Select the sprite, go to the edit tab, blending drop down.

    Set source factor dst_alpha, and destination factor one_minus_dst_alpha.

    This does not solve blending within the object and nullifies the alpha channel. At least it is a beginning.
    #2
    09/06/2012 (7:02 pm)
    Is this an issue with TGB? If so it should be moved to TGB, and not TorqueX.

    #3
    09/06/2012 (7:11 pm)
    Yes, it is for TGB, sorry about that.