Search found 131 matches

by Sasha264
Sat May 13, 2023 7:54 am
Forum: Support and Development
Topic: Puzzled by a potential memory leak
Replies: 13
Views: 4380

Re: Puzzled by a potential memory leak

I don't use tables, everything is set up with FFI, C structs and pointers. I even reuse the same meshes to draw every part of the landscape to a canvas. That sounds like a nice job :3 It's fast, computation time is really low, even on my old office computer. But how can I get rid of the garbage, wi...
by Sasha264
Fri May 05, 2023 6:37 pm
Forum: Support and Development
Topic: FilterMode Bluriness and Workarounds
Replies: 10
Views: 2684

Re: FilterMode Bluriness and Workarounds

By the way, i found the thread i mentioned before in my bookmarks: https://love2d.org/forums/viewtopic.php?f=5&t=89442 There is an interesting idea in that thread: to expand the sprite rect in the vertex shader in order to get rid of border problems, nice! :nyu: I wonder if there's a way to mod...
by Sasha264
Thu May 04, 2023 1:49 am
Forum: Support and Development
Topic: Love too many
Replies: 3
Views: 2015

Love too many

Hello :3 I have that game I am developing. I did tested in on several PCs, new and old ones. The oldest included MacBook 2013, some dusty PC with GeForce 560 GTX... Also there was integrated Intel GPUs, integrated AMD GPUs... But that error I saw the first time for 10 years =) It happened when I tri...
by Sasha264
Thu May 04, 2023 1:08 am
Forum: Support and Development
Topic: FilterMode Bluriness and Workarounds
Replies: 10
Views: 2684

Re: FilterMode Bluriness and Workarounds

2. Manually scale the image up with the "nearest" filter to a multiple of the image's original size, draw it to a canvas, and then scale that canvas back down using the "linear" filter to reduce it to the size I want. I also did something like that in 2017 https://love2d.org/for...
by Sasha264
Sat Apr 29, 2023 10:05 pm
Forum: Support and Development
Topic: How to make the same shader as Love2d default one
Replies: 5
Views: 1548

Re: How to make the same shader as Love2d default one

slime wrote: Sun Apr 16, 2023 1:30 pm Yep, there are a small number of different default shaders love uses internally depending on what's being drawn: https://github.com/love2d/love/blob/78e ... r.lua#L449
Thank you! That's good to know :)
by Sasha264
Sun Apr 16, 2023 10:13 am
Forum: Support and Development
Topic: How to make the same shader as Love2d default one
Replies: 5
Views: 1548

Re: How to make the same shader as Love2d default one

@zorg, well... that make sense. Thank you)
by Sasha264
Thu Apr 13, 2023 3:55 pm
Forum: Support and Development
Topic: How to make the same shader as Love2d default one
Replies: 5
Views: 1548

Re: How to make the same shader as Love2d default one

Small comment, why do I even need that: It happened that in some of my code, I have a collection of one-layered ArrayImage-s, and I was hoping that I could draw them with all of my shaders that are designed to work with simple images. Unfortunately, I had no luck. I even tried using love.graphics.dr...
by Sasha264
Thu Apr 13, 2023 3:46 pm
Forum: Support and Development
Topic: How to make the same shader as Love2d default one
Replies: 5
Views: 1548

How to make the same shader as Love2d default one

Good day! :awesome: I've noticed that when the default shader is set up using love.graphics.setShader() it's possible to draw both a simple Image love.graphics.newImage and an ArrayImage love.graphics.newArrayImage without any additional code changes. However, I'm struggling to create the same behav...
by Sasha264
Tue Apr 11, 2023 12:47 pm
Forum: Support and Development
Topic: Is LOVE limited to how much hardware it can use?
Replies: 5
Views: 1658

Re: Is LOVE limited to how much hardware it can use?

10% of my CPU (Intel Core i7 12700K) Well... It's not the Love "feature", it's actually quite common for most of the games I've played on Steam. Way more than 50% behaving similarly in my case, which is hundreds of games :o: The reason is that they are all single-threaded applications. Or...
by Sasha264
Sat Apr 08, 2023 11:42 pm
Forum: Support and Development
Topic: Fast way to blur image
Replies: 6
Views: 2179

Re: Fast way to blur image

3) The blur hates the edge of the screen. I'm pretty sure I can fix this, but if there's a better solution that doesn't have that issue that would be nice. It's hard to say without a visual explanation of the mentioned bug, but I'm 99% sure it can be solved by changing the WrapMode of the input ima...