Search found 3591 matches

by Jasoco
Tue Jan 18, 2022 12:44 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

You can simply call love.graphics.setMeshCullMode between drawing the models. love.graphics.setMeshCullMode("back") model:draw() --drawn with back culling love.graphics.setMeshCullMode("front") model2:draw() --drawn with front culling Why didn't I think of that? Does it have any...
by Jasoco
Mon Jan 17, 2022 11:14 pm
Forum: Support and Development
Topic: not correct texture cube
Replies: 11
Views: 4177

Re: not correct texture cube

Come on man. That's way beyond a support question, that's at least a whole year in school learning linear algebra question. There's an endless stream of tutorials for 3D programming out there: in formats for people who can read, or in YouTube format for people who can't read. Now let's not be too h...
by Jasoco
Mon Jan 17, 2022 6:45 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.5.1 Release

Yeah, I'm slowly teaching myself how shaders work. It's a lot to take in as I've never really been able to fully understand how languages work except for the easier more "basic" languages like BASIC and Lua. I was able to merge the "fog" shader someone wrote a while ago to do dis...
by Jasoco
Tue Jan 04, 2022 6:33 pm
Forum: General
Topic: LÖVE 11.4 - out now!
Replies: 51
Views: 225771

Re: LÖVE 11.4 - out now!

The download link on the homepage still links to 11.3. I was able to just change the link to say 11.4 instead and downloaded it. That said, wow, a native Silicon version really makes a difference for performance for me now. At least in g3d it seems to be faster. It's just nice to be native now. At l...
by Jasoco
Wed Dec 15, 2021 2:08 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.4 Release

Given your art style, wouldn't a simple "discard" in the pixel shader be enough to avoid writing over objects behind ? (alpha test kind if transparency) It definitely would. I just don't know where to put that code properly. Seems like it would be the easiest thing to implement. Since it'...
by Jasoco
Tue Dec 14, 2021 6:09 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.4 Release

That's because of the depth buffer - the frontmost tree is rendered before the obscured behind it and, even for fully transparent pixels, depth value is written to the depth buffer. Pixels rendered behind that tree, even in the transparent area, will be discarded based on their depth. What you need...
by Jasoco
Tue Dec 14, 2021 1:07 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.4 Release

I have an issue I'm trying to understand. Is there any way to fix this? L8L2-gXL9PE Notice how the trees closest to the camera obscure trees behind it in the transparent pixel areas of the image. But weirdly not all trees. And not all closest trees. Some of the close trees obscure trees way in the b...
by Jasoco
Tue Dec 14, 2021 2:02 am
Forum: Support and Development
Topic: Find top, bottom, left and right side of the window?
Replies: 13
Views: 7836

Re: Find top, bottom, left and right side of the window?

It's true. Windows can be resized. It's best if you choose a specific playfield size and learn how to render to a specific fixed size and scale that to fit the window. Personally I render my gameplay to a canvas of a specific dimension. Usually for me it's like 320x180 as I like retro low pixel game...
by Jasoco
Tue Dec 14, 2021 1:51 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.4 Release

I like any discussion that helps make g3d better to use. I started using it myself and would love to look into adding in stuff like lighting and shadows. I'm not all super smart on all this shader stuff but seeing examples makes me happy that I could do this stuff too if I really put my mind to it. ...
by Jasoco
Mon Oct 25, 2021 11:24 am
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 454621

Re: Groverburger's 3D Engine (g3d) v1.4 Release

I definitely want to learn how to make and use shaders with this because I saw what you did with the lighting in that Flamerunner game and would love to have some sort of lighting in my game so I can have dark moody areas and not just have everything so perfectly lit throughout. Seems I'll have to d...