Search found 4 matches

by crocs
Mon Mar 06, 2023 9:22 am
Forum: Support and Development
Topic: Love.graphics.captureScreenshot producing no file!
Replies: 4
Views: 994

Re: Love.graphics.captureScreenshot producing no file!

Because the image is saved in the Löve2D "save folder", i.e. for the example of the wiki : function love.load() love.filesystem.setIdentity("screenshot_example") end function love.keypressed(key) if key == "c" then love.graphics.captureScreenshot(os.time() .. ".pn...
by crocs
Wed Mar 01, 2023 3:40 pm
Forum: Support and Development
Topic: Love.graphics.captureScreenshot producing no file!
Replies: 4
Views: 994

Love.graphics.captureScreenshot producing no file!

Hello! I've checked the wiki and I don't think anybody else had this problem, probably because I am doing something really stupid. This is some WIP art/screensaver that connects dots to lines that just runs on a main.lua file that I am going to send. If you press Q, it should take a screenshot, and ...
by crocs
Tue Oct 04, 2022 9:13 am
Forum: Support and Development
Topic: Shader returns only white
Replies: 5
Views: 2011

Re: Shader returns only white

Hi and welcome to the forums! It's late and i might be wrong, but this is how i see it: The resolution variable storing how many pixels you want to simulate in width and height is not how that works; if resolution is {1,1}, then you'll get width x height pixels, if resolution is {2,2}, then you'll ...
by crocs
Mon Oct 03, 2022 3:08 pm
Forum: Support and Development
Topic: Shader returns only white
Replies: 5
Views: 2011

Shader returns only white

Hi there! :) I've seen some other posts that cover a similar topic to this, but none of them explain to me how to correct the issue. local pixelShader = love.graphics.newShader[[ extern vec2 resolution; vec4 effect( vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords ) { vec2 largePos...