Adam's Lair Forum
https://forum.adamslair.net:80/

Spriteimporter issues
https://forum.adamslair.net:80/viewtopic.php?f=16&t=943
Page 1 of 1

Author:  Cross [ 2016/09/21, 22:05 ]
Post subject:  Spriteimporter issues

Hello!

I have a problem with importing sprites in my current project.
When I render a newly added sprite from the project view, the sprite doesn't drawn correctly.

In my project:


Empty new project:


Another example:
In my project:


Empty new project:


What is going on? :wtf:

Author:  ChatPion [ 2016/09/22, 01:35 ]
Post subject:  Re: Spriteimporter issues

Maybe you are using the FilterMag and FilterMin in your Textures ? That happened to me when I tried to do a pixel-art game.

Author:  Adam [ 2016/09/22, 21:14 ]
Post subject:  Re: Spriteimporter issues

Did you check the Material and Texture settings as well? Are they using the same DrawTechnique? Are the Textures and Pixmaps configured exactly the same?

Author:  Cross [ 2016/09/22, 22:06 ]
Post subject:  Re: Spriteimporter issues

I checked the Material and Texture settings etc.. Everything seams correct..

The problem occurs yesterday. Today it works fine.
Maybe an OpenGL error?

Author:  Adam [ 2016/09/22, 22:30 ]
Post subject:  Re: Spriteimporter issues

Could be. Hard to say without further context. If it occurs again or you have a way to reproduce it, let me know!

Author:  Cross [ 2016/09/25, 20:30 ]
Post subject:  Re: Spriteimporter issues

// edit:

I used the "Mask" drawtechnique.. so the "Alpha"-drawtechnique fixed the issue..

Author:  Adam [ 2016/09/25, 20:48 ]
Post subject:  Re: Spriteimporter issues

Mask is really just for sharp alpha cutouts and how smooth the edges are will depend on Antialiasing settings. In general, when you have smooth gradients or something that is supposed to be semi-transparent, Alpha is a much better choice.

Author:  Cross [ 2016/09/25, 21:04 ]
Post subject:  Re: Spriteimporter issues

All right. Thanks for your answer!

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/