Search found 28 matches

by Imagic
Mon May 18, 2020 12:45 am
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 326

Re: Incentive for DPI scaled units instead of pixel units ?

You've always been able to use pixel units when needed through love.graphics.getPixelDimensions and friends, and to explicitly set the DPI scale of any asset (images or canvases or fonts) to whatever you want. Yes, but it increases the overall complexity for no benefits in my case. you will need to...
by Imagic
Sun May 17, 2020 10:08 pm
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 326

Re: Incentive for DPI scaled units instead of pixel units ?

Thanks for the details.

To me, this should only be done at the application/user level and not at the engine level, so I would be stuck without the option to disable it. Just to say that it matters to give that freedom, whatever the consensus.
by Imagic
Sat May 16, 2020 7:09 pm
Forum: Support and Development
Topic: Incentive for DPI scaled units instead of pixel units ?
Replies: 5
Views: 326

Incentive for DPI scaled units instead of pixel units ?

What is the incentive for DPI scaled units by default instead of pixel units ? I don't understand this choice, I expected the API to use pixel units because these parameters are not designed to be resolution independent in the first place. When we write "800x600", it doesn't hold any meaning about t...
by Imagic
Mon Apr 20, 2020 1:08 pm
Forum: Libraries and Tools
Topic: saferlove: Use encrypted and signed lua files
Replies: 5
Views: 4164

Re: saferlove: Use encrypted and signed lua files

(probably said a lot, but still needed) The term obfuscated is more suited; encryption implies that the information should not be understood by public ways (even if using encryption algorithms, better not fool ourselves when talking security). I would also say that it is probably even easier for an...
by Imagic
Thu Apr 02, 2020 5:32 pm
Forum: Libraries and Tools
Topic: love-DPBR - Deferred Physically Based Rendering library
Replies: 6
Views: 2866

Re: love-DPBR - Deferred Physically Based Rendering library

After research, an AO map might be a good addition: - SSAO is costly and can be ugly (not so easy to get right) - the AO can be added as the blue channel of the MR map - with improved ambient/indirect lighting it becomes an essential effect - the lack of dynamic AO is probably less of an issue with ...
by Imagic
Wed Apr 01, 2020 4:58 pm
Forum: General
Topic: A Question About Love2d and Performance
Replies: 4
Views: 1129

Re: A Question About Love2d and Performance

Performance/optimization is probably one of the most filled with misconceptions topic in programming (or other areas).

LÖVE is fine.
by Imagic
Wed Apr 01, 2020 1:32 pm
Forum: Libraries and Tools
Topic: love-DPBR - Deferred Physically Based Rendering library
Replies: 6
Views: 2866

Re: love-DPBR - Deferred Physically Based Rendering library

I don't know about an AO map, that would conflict with a potential SSAO; but it's possible. For now each material requires 4 textures, I don't want this number to grow (or the complexity), but there are slots to take for this kind of effects. Normal maps are transformed in the material pass to follo...
by Imagic
Wed Apr 01, 2020 2:12 am
Forum: Libraries and Tools
Topic: love-DPBR - Deferred Physically Based Rendering library
Replies: 6
Views: 2866

Re: love-DPBR - Deferred Physically Based Rendering library

It's amazing right ? It's a peculiar workflow for 2D, it has some drawbacks that I'm trying to solve (like anti-aliasing/filtering). I love pre-rendered graphics and 2D is perfect for that; this is like another level of baking. I have found similar projects like this one . I can explain more how it ...
by Imagic
Sun Mar 29, 2020 8:13 pm
Forum: Libraries and Tools
Topic: love-DPBR - Deferred Physically Based Rendering library
Replies: 6
Views: 2866

love-DPBR - Deferred Physically Based Rendering library

Hi, love-DPBR is a Deferred Physically Based Rendering library. The idea of using "3D" techniques for "2D" (ultimately the same on the screen) is not new, but I wanted to push this further and I can already see many possibilities. It's at the frontier between 2D and 3D, which explains the deferred p...
by Imagic
Thu Mar 19, 2020 5:32 pm
Forum: Libraries and Tools
Topic: love-webp - WebP library
Replies: 9
Views: 2994

Re: love-webp - WebP library

I added compiled libraries for Windows: https://github.com/ImagicTheCat/love-we ... aster/dist

For other platforms, compiling WebP would probably be a part of the app building process.