Game Development Community

Anti-alias at runtime

by Pablo Alonso · in Torque X 2D · 07/07/2009 (5:52 pm) · 2 replies

I'm trying to do a menu and the art requires the images to have sharp edges, so I tried removing the anti alias from my data blocks with
<t2dImageMapDatablock name="panelTextureYellowMaterial">
                    <imageMode>FULL</imageMode>
                    <filterMode>NONE</filterMode>
                    <filterPad>true</filterPad>

Now the images look exactly like I wanted in the editor, but at runtime they still have the anti alias.

Any ideas?

#1
07/07/2009 (10:22 pm)
I don't know if this is at all pointing in the right direction, but another thread discussed something in the shader code regarding aliasing. Perhaps something with the shader could be it, because they also mentioned that it looked right in TXB, but not at run-time.
#2
07/11/2009 (1:45 pm)
Thanks, this worked great.