Hello, I'm new to löve, and coding in general really, and I'm loving it. There's something I've been bothered with though...
With fsaa set to 0 and pointstyle as smooth, points have soft edges. Circles have rough edges.
With fsaa set to 4 and pointstyle as smooth, points have rough edges. Circles have soft edges.
Why is that? Am I missing something? Please explain
Edges of points, help me understand.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Edges of points, help me understand.
FSAA is Fullscreen Antialiasing. I believe, if I'm correct, that it means Löve will draw everything 4x the size then scale it down using bilinear interpolating or something to smooth the edges of stuff. Correct me if I'm way out of my ballpark here.
Not sure why points show up the way they do though. Screenshot please maybe?
Not sure why points show up the way they do though. Screenshot please maybe?
Re: Edges of points, help me understand.
Ok, that is helpful to know, but I don't understand why that would make points rough?
Ofcourse, here are two screenshots:
The black ball is a circle, the grey one is a point.
Here fsaa is set to 0.
And here fsaa is set to 4.
Ofcourse, here are two screenshots:
The black ball is a circle, the grey one is a point.
Here fsaa is set to 0.
And here fsaa is set to 4.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Edges of points, help me understand.
Yeah. That's really odd. I rarely use points though. I always fall back to circles at a radius of like 1 if I need a point currently.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Edges of points, help me understand.
The antialiasing setting actually uses MSAA (multisample anti-aliasing) internally, which is a fair bit more efficient than that.Jasoco wrote:FSAA is Fullscreen Antialiasing. I believe, if I'm correct, that it means Löve will draw everything 4x the size then scale it down using bilinear interpolating or something to smooth the edges of stuff. Correct me if I'm way out of my ballpark here.
Not sure why points show up the way they do though. Screenshot please maybe?
I'm not sure why the point isn't being antialiased...
Re: Edges of points, help me understand.
I guess that I could just change all points to circles, but for some reason small points look better than small anti-aliased circles.
I bet nobody has ever encountered this, but me, because I'm the only one using points
I bet nobody has ever encountered this, but me, because I'm the only one using points
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Edges of points, help me understand.
It works fine for me - looks like it's probably a driver/GPU isssue. What OS and video card do you have? Are your drivers up to date?
The "smooth" point style has various issues on many drivers and I wish there was a better way to do it (without using shaders)...
FSAA at 0: FSAA at 4:
The "smooth" point style has various issues on many drivers and I wish there was a better way to do it (without using shaders)...
FSAA at 0: FSAA at 4:
Re: Edges of points, help me understand.
Ah, that makes sense. I'm using Win 7 and have a Radeon HD 4800, so quite old, but not ancient.
I'm convinced drivers are up to date, but I'll do a check and see if I find anything.
I'll make it a habit to use circles instead of points in the future. Thanks!
I'm convinced drivers are up to date, but I'll do a check and see if I find anything.
I'll make it a habit to use circles instead of points in the future. Thanks!
Who is online
Users browsing this forum: No registered users and 8 guests