Search found 262 matches
- Tue Dec 14, 2021 12:53 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516116
Re: Groverburger's 3D Engine (g3d) v1.4 Release
Missing variables are those which are declared but not used. Say, you have a LIGHT_STRENGTH uniform. Even if you assign something to it, or even if you calculate some values using it, but won't actually use those to get the resulting value, then it'll get dismissed from a shader. GPU doesn't care fo...
- Mon Nov 15, 2021 10:17 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516116
Re: Groverburger's 3D Engine (g3d) v1.4 Release
Thanks, @pgimeno , Turns out, I needed to use TWO canvases: local canvas = love.graphics.newCanvas(1024,1024) local SFBO = love.graphics.newCanvas(1024,1024, {readable=true, format = "depth24"}) and then function love.draw() love.graphics.setCanvas({canvas, depth=true, depthstencil=SFBO}) ...
- Sat Nov 13, 2021 11:06 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516116
Re: Groverburger's 3D Engine (g3d) v1.4 Release
Not sure where to put this, but I guess w/o g3d this loses any context (plus it might be useful for others?) Also, sorry for double-posting ( I think it's justified in this case?) and for a long post. TL;DR I can't understand this article I'm mentioning below, but I want shadows. Long story: I've fi...
- Tue Nov 09, 2021 2:44 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516116
Re: Groverburger's 3D Engine (g3d) v1.4 Release
@pgimeno Thanks a ton! While the debugging yields info that I can't yet decode, it's useful to know how it all works and possibly apply some "universal" GLSL knowledge in the future. For now I can compare shades that are being produced by different "inputs" :awesome: @groverburge...
- Mon Nov 08, 2021 7:34 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516116
Re: Groverburger's 3D Engine (g3d) v1.4 Release
Can anyone explain why all tutorials on GLSL have this main() function but love2d works with effects? Should I assume that the entire file will be included into main() ? But main has no real return value, since it's void. Seems like I'm googling it wrong, 'cause I can't find a simple example of ambi...
- Mon Aug 30, 2021 1:36 pm
- Forum: Support and Development
- Topic: Stuttering in windowed mode with vsync turned on
- Replies: 12
- Views: 10402
Re: Stuttering in windowed mode with vsync turned on
Both stutter for me. The project seems to be extremely sensitive to any other GPU/CPU load. 1st of all, from love2d wiki: Constantly updating the window title can lead to issues on some systems and therefore is discouraged. But even without that the framerate is inconsistent. I moved the box out of ...
- Mon Aug 30, 2021 9:19 am
- Forum: Support and Development
- Topic: video:play() issues [SOLVED] (sorta)
- Replies: 4
- Views: 7820
Re: video:play() issues
Wait, is is all about ffmpeg version now?
Thanks for the info!
/me went to search for a reliable encoder
Edit
/me found the -r X FFmpeg option. Enforces X fps on the initial file, resulting in no artifacts and working loops
Thanks for the info!
/me went to search for a reliable encoder
Edit
/me found the -r X FFmpeg option. Enforces X fps on the initial file, resulting in no artifacts and working loops
- Mon Aug 30, 2021 8:58 am
- Forum: Support and Development
- Topic: video:play() issues [SOLVED] (sorta)
- Replies: 4
- Views: 7820
Re: video:play() issues
Yeah, I tried that. It works sometimes - just like the original code :( Will try to make a longer clip, maybe that'll fix the issue. BTW, I can't do this either if not video:isPlaying() then video:release() video = love.graphics.newVideo("bgv1.ogv", {audio="true"}) video:play() e...
- Mon Aug 30, 2021 12:11 am
- Forum: Support and Development
- Topic: video:play() issues [SOLVED] (sorta)
- Replies: 4
- Views: 7820
video:play() issues [SOLVED] (sorta)
Hey there! I'm using love2d v 11.4 (built on windows using megasource) and have some weird issue with play() method of a video. The code is so simple, IDK whether I'm dumb or blind: if not video:isPlaying() then video:seek(0) video:play() end The thing is, video gets stuck in zero time position and ...
- Thu Feb 04, 2021 9:15 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516116
Re: Groverburger's 3D Engine (g3d) v1.2 Release
@4vZEROv Yeah, I can read :) Not sure why people think comments like that will help. Especially since I'm dumb. The question implied I'd like to know why the thing isn't defined when it clearly (to me anyway) is. Whether that was a joke or a genuine attempt to help - it flew way over my head. I am t...