Search found 49 matches
- Fri May 06, 2022 6:35 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.5.2 Release
Hey everyone! The new release of g3d, 1.5.2 is out now! The new changes are: - Obj loading can now optionally flip the u and v coordinates when an obj file is loaded, which is useful when importing files from Blender - Obj loading functionality is now available from the g3d namespace with g3d.loadOb...
- Mon May 02, 2022 4:46 am
- Forum: Support and Development
- Topic: [Solved] Why doesn't this shader code work properly? (Or alternate methods)
- Replies: 6
- Views: 6233
Re: Why doesn't this shader code work properly? (Or alternate methods)
My solution to rendering with palettes is to use a lookup texture instead of distance calculations, as the algorithm is much more performant even on very large resolutions. Plus, swapping palettes at runtime is as easy as sending a different image to the shader. You also don't have to manually defin...
- Fri Apr 08, 2022 8:27 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.5.1 Release
Yep, the easiest way to achieve this is to change the camera's up vector, and make it point up and slightly to whatever direction you want to tilt. Something like: g3d.camera.up = {some vector here} g3d.camera.updateViewMatrix() Interesting but it seems to rotate the world itself instead of just th...
- Mon Apr 04, 2022 6:57 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.5.1 Release
Question though: Is there a way to tilt the camera around the third axis? You can spin it around the Z (Turning) axis. Tilt it on the X (Looking up and down) axis. But how if possible, do you tilt it on the Y (Forward) axis? Is this possible officially? Or can it be easily implemented? I guess it w...
- Fri Dec 24, 2021 12:22 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.4 Release
Really I just want simple shadows and simple lighting. Possibly also light sources but with a central ambient "sunlight/moonlight". Also a simple water shader that just puts foam around the edges of "ground" areas. Not looking for raytracing or anything crazy like that. If I cou...
- Tue Nov 09, 2021 3:15 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
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 amb...
- Mon Oct 25, 2021 6:26 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.4 Release
Oh. It’s been a while since I messed around with this, but I’m pretty sure I didn’t include the vertex shader. So I was just using it wrong. That’s my bad. No prob, happy to help. I definitely want to learn how to make and use shaders with this because I saw what you did with the lighting in that F...
- Mon Oct 25, 2021 1:51 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.4 Release
The model:draw() function in g3d is supposed to be able to take a shader as an argument, But i didn't have much success with that. So i slightly altered the shader definition in init.lua in g3d. If you have any more details about what didn't work for you, I'd be interested to hear it. Here's how I ...
- Mon Sep 27, 2021 10:51 pm
- Forum: Games and Creations
- Topic: Lead Haul - Old-school space pirate FPS
- Replies: 37
- Views: 69964
Re: Lead Haul - Old-school space pirate FPS
This is super cool! The game is fun, looks and sounds great too! Really, really nice work. I hope you don't mind me using this game in g3d's games showcase section...
Also it still amazes me when people actually make stuff with code I wrote lol. Thanks for giving g3d a shout out!
Also it still amazes me when people actually make stuff with code I wrote lol. Thanks for giving g3d a shout out!
- Mon Sep 27, 2021 7:29 pm
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 516122
Re: Groverburger's 3D Engine (g3d) v1.4 Release
I just wanted to say thank you for making this. After playing Lead Haul i decided to look into this library, And see if i can't make my own old school style fps, Which is something i've always wanted to do. After tinkering with this for a while, And with pretty much zero knowledge or experience wit...