• HUD PNG Blurry?
    5 replies, posted
Hey, I am developing a HUD using darkrpmodification's modules. I added an image via using .png and it is extremely blurry and distorted for most players, any ideas? Thanks in advanced, Dan
Using any special flag when you create the [URL="http://wiki.garrysmod.com/page/Global/Material"]Material[/URL]? Try add "noclamp".
make sure its image size is power of 2 i.e 512x512, 128x64, etc
[QUOTE=NiandraLades;48450519]make sure it's image size is power of 2 i.e 512x512, 128x64, etc[/QUOTE] VTFEdit won't allow you to import anything un-resized to power of 2.
You don't need to use VTFEdit for a .png
Make sure your png is the same size or larger than what you are rendering - pngs will become blurry when you try to draw them larger than their actual size. The other thing you can do is use: [code]Material( "path", "smooth mips" )[/code] Which greatly improved the appearance of the edges in my textures, which were very jagged/fuzzy looking even with just "smooth".
Sorry, you need to Log In to post a reply to this thread.