Search found 7 matches

by fluffy
Fri Feb 05, 2021 5:23 am
Forum: General
Topic: HDR output support?
Replies: 1
Views: 6347

HDR output support?

I know this is a long shot, but is there any way of rendering to an HDR display? I know that HDR/floatingpoint PixelFormats are supported for canvases, but now that HDR monitors are a thing, is it possible to request an HDR display buffer as well? From the docs it seems that the only intended suppor...
by fluffy
Mon Aug 27, 2018 11:03 pm
Forum: Support and Development
Topic: Any way to determine the vsync wait time?
Replies: 3
Views: 3385

Any way to determine the vsync wait time?

tl;dr: I want to determine approximately how much rendering headroom time I have. Quite some time ago I implemented an adaptive resolution mechanism to adjust the render quality on the fly based on GPU load. However, the big problem with it is that when vsync is on it's difficult to determine how mu...
by fluffy
Thu May 17, 2018 12:22 am
Forum: General
Topic: LÖVE 11.1 released!
Replies: 41
Views: 96573

Re: LÖVE 11.1 released!

I'm aware of that, but this is for distribution on itch.io and Steam.

Anyway, I ended up making a wrapper script that calls the correct AppImage bundle and the .love file so that I can have a "universal" distribution.
by fluffy
Wed May 16, 2018 10:10 pm
Forum: General
Topic: LÖVE 11.1 released!
Replies: 41
Views: 96573

Re: LÖVE 11.1 released!

Is there a way of bundling my .love file into the AppImage bundle, the same way that I can bundle my .love file into the Windows executable or the macOS .app? I'm excited for the possibility of finally having a standalone Linux release!
by fluffy
Thu Feb 01, 2018 8:49 am
Forum: Support and Development
Topic: Using modf in shader
Replies: 11
Views: 5664

Re: Using modf in shader

Another modf that might be more performant:

Code: Select all

float _modf(float a, float b) {
    return b*fract(a/b);
}
by fluffy
Wed Jan 31, 2018 9:48 am
Forum: Support and Development
Topic: HighDPI issue on 0.10.2 / MacOS 10.13
Replies: 1
Views: 1929

Re: HighDPI issue on 0.10.2 / MacOS 10.13

After banging away on this a bit more I found love.window.getPixelScale() and that seems to work correctly. Using that function also has the nice benefit of cleaning up a bunch of my code anyway, so I'll just switch to using that! The highdpi flag does still seem like a bug but love.window.getPixelS...
by fluffy
Wed Jan 31, 2018 6:46 am
Forum: Support and Development
Topic: HighDPI issue on 0.10.2 / MacOS 10.13
Replies: 1
Views: 1929

HighDPI issue on 0.10.2 / MacOS 10.13

Hi, I'm using this bit of code to try to determine if the display is highdpi or not: love.window.setMode(config.width, config.height, { resizable = true, fullscreen = config.fullscreen, vsync = config.vsync, highdpi = config.highdpi, minwidth = 480, minheight = 480 }) local _, _, flags = love.window...