News for hackers. Stuff that matters.
Re:Godot Shaders: View and Share Shaders for Godot by gabereiser on Thursday February 04, 2021 @11:57AM (#26027196)
I'm posting blind, I haven't visited the site (yet), but can I say that I'm super pleased with more Godot coverage? I am. Godot is so underrated. It needs more content coverage, more tutorials, more guides - like Unity has - because it's awesome, easy, relatively simple and is just pleasant to work with.

Godot + Blender + Krita = win people

Re:Godot Shaders: View and Share Shaders for Godot by lazypenguin on Thursday February 04, 2021 @12:18PM (#26027447)
Godot is a great engine, no doubt about it. I've played around with it extensively in the past. I think it's relative obscurity is due to the fact that it mainly caters to hobbyists and doesn't invest as much into tooling for people actually trying to ship games (especially the 3D workflows). I think in time it will get there because the godot "everything is a scene" workflow is the most pleasurable way I've ever built a game. It's such a powerful and ergonomic workflow that I was extremely productive and actually enjoyed building the game. However for now it doesn't compete with unreal/unity due to death by a thousand papercuts. I also question the decisions to try to compete with them on a graphic fidelity level but it's probably a decent move for the long term. Im hopeful for the future of godot but if I want to ship a 3d game today I would not use godot.
Re:Godot Shaders: View and Share Shaders for Godot by chairmanwow1 on Thursday February 04, 2021 @01:01PM (#26027972)
The more serious my Godot projects became, the more I became aware of the limitations. Even something as simple as an outline shader for a 3D object can only be implemented in a relatively hacky way.

Nonetheless, I love using it. I'm a huge fan of Godot and donate to them every year. The fact the entire engine is a 30mb download is truely amazing. The editor is snappy and is a breath of fresh air in the world of bloated electron apps

Re:Godot Shaders: View and Share Shaders for Godot by jordo on Thursday February 04, 2021 @01:17PM (#26028158)
Re:Godot Shaders: View and Share Shaders for Godot by chairmanwow1 on Thursday February 04, 2021 @08:34PM (#26032030)
This was a shockingly good read. Thank you very much :)
Re:Godot Shaders: View and Share Shaders for Godot by gabereiser on Thursday February 04, 2021 @01:36PM (#26028356)
I completely agree. The limitations though are something you’ll hit in Unity or Unreal as well, just at a different spot.

Each engine has limitations to what they provide. It’s up to you to extend. Godot being open source you can easily extend. Unity/Unreal you’ll be writing some code as scripts to attach to overcome those limitations you encounter.

No game engine is limitless.

Re:Godot Shaders: View and Share Shaders for Godot by Sephr on Thursday February 04, 2021 @01:50PM (#26028511)
Unreal engine has shared source and accepts PRs, so you could potentially edit the source code to fix issues as well.
Re:Godot Shaders: View and Share Shaders for Godot by adrusi on Thursday February 04, 2021 @04:27PM (#26030005)
Hopefully they give you a discount on the royalties if you improve their engine for them!
Re:Godot Shaders: View and Share Shaders for Godot by gabereiser on Thursday February 04, 2021 @01:57PM (#26028563)
very true. If your fix is something that would be useful to others, PR away!
Re:Godot Shaders: View and Share Shaders for Godot by Agentlien on Friday February 05, 2021 @12:28AM (#26033421)
Every engine I've used has some really good stuff and some surprising limitations.

For Frostbite... If you've worked with it you know. Probably my least favourite.

In UE4 I love the environment but can't get over how cumbersome some aspects of graphics programming are. Especially how difficult it is to work with compute shaders.

For Unity I really like how smooth the workflow is, especially for shader programming. Having used it for a little more than a year now I'm really surprised how nice it is to work with. I barely even mind it being primarily C#.

Re:Godot Shaders: View and Share Shaders for Godot by boterock on Thursday February 04, 2021 @02:58PM (#26029118)
From what I've seen on computer graphics, most of the algorithms are tricks and hacks... I think that in the end a good engine should acknowledge that it is hard to support everything, so just having a hackable interface is good enough.
Re:Godot Shaders: View and Share Shaders for Godot by jordo on Thursday February 04, 2021 @01:10PM (#26028075)
This. Same sentiment here. Although one of the greatest strengths in the engine is the fact that it's open source, and extremely easy to build.

Any limitation I've come across I've been able to modify or extend with relative ease.

Re:Godot Shaders: View and Share Shaders for Godot by Agentlien on Friday February 05, 2021 @12:13AM (#26033371)
I'm a graphics programmer who's been happily surprised by how easy shaders are to write in Unity.

Could you elaborate a bit on the problem with writing such simple effects in Godot?

Re:Godot Shaders: View and Share Shaders for Godot by chairmanwow1 on Friday February 05, 2021 @04:14PM (#26041292)
Firstly, the Visual Shader GUI in Godot has pretty series issues on my Macbook. Secondly, it's impossible to do any effects with a stencil shader [1].

Most of the useful post-processing effects (bloom, depth-of-field etc) are implemented out of the box, so this also means that there isn't a way (AFAIK) to implement post-processing effects yourself.

Godot also only has simplex noise implemented out of the box, so you need to jump through some hoops to get anything else included (which is super useful in shaders).

[1] also has some images of the way to implement outline shaders in Godot, which is to move the faces of object out by a scaling factor and then render them as unshaded, which leaves some gnarly artifacts at the corners.

[1] https://github.com/godotengine/godot/issues/23721

Re:Godot Shaders: View and Share Shaders for Godot by Qwertious on Thursday February 04, 2021 @01:30PM (#26028296)
The more serious my Godot projects became, the more I became aware of the limitations.

How fundamental would you say the limitations are? Is it just a matter of progress? and maturity?

Re:Godot Shaders: View and Share Shaders for Godot by dkersten on Thursday February 04, 2021 @03:09PM (#26029221)
I gave up on Godot three years ago because I couldn't do something very simple: set the origin correctly on 2D sprites so that they correctly show above things behind them. There is a setting for it (mentioned in the docs, at them time, for the exact thing I wanted) and it did indeed fix it, but it also made my sprite be drawn offset from where the editor showed it, which was immensely annoying.

I hit a few annoyances like that.

But! Godot has not been standing still and is constantly improving. I haven't had a chance to try it out again since, but I wouldn't be surprised if the issue I hit have been fixed. Its just important to note that it doesn't have the same manpower behind it that Unreal or Unity have and to temper your expectations accordingly. It is a great engine, though, and getting better all the time.

I'm also still very proud of the fact that there's a tiny bit of code I contributed in godot-cpp :)

Re:Godot Shaders: View and Share Shaders for Godot by gggtt on Thursday February 04, 2021 @08:15PM (#26031902)
Maybe it's biased from my personal experience but I feel people overestimate the importance of the engine features for big games. When you do big games, you often write everything yourself

My friend works at a studio who's doing an open world game in Unity and they did : their own terrain system (with their custom tessellation, collision system, etc.), their own LOD system, their own pathfinding algo, their own crowd sim, their own multiplayer sync, etc.

Similarly, this person :

https://www.youtube.com/channel/UCs1njLLfUBCTAfSZ3Q7gq2Q

Did not had to wait for Godot (pun intended) 4.0 to make a very cool terrain, particle and water system.

The part that does really matter is the core rendering engine, and this should improve drastically in Godot 4.0

Re:Godot Shaders: View and Share Shaders for Godot by tpxl on Thursday February 04, 2021 @04:27PM (#26030002)
I gave up and am waiting for 4.0 release when I couldn't reasonably implement foreground transparency around the mouse.
Re:Godot Shaders: View and Share Shaders for Godot by babaganoosh89 on Thursday February 04, 2021 @08:00PM (#26031795)
I found a lot of annoying GUI bugs for Mac, last I tried ~1 year ago. Seems like most of the developers use Linux.
Re:Godot Shaders: View and Share Shaders for Godot by moron4hire on Thursday February 04, 2021 @05:17PM (#26030437)
> Even something as simple as an outline shader for a 3D object can only be implemented in a relatively hacky way.

Have you tried to do it in Unity? It's also pretty hacky there.

Re:Godot Shaders: View and Share Shaders for Godot by dr_zoidberg on Thursday February 04, 2021 @01:14PM (#26028128)
> I also question the decisions to try to compete with them on a graphic fidelity level but it's probably a decent move for the long term.

I always understood this as Linietsky having some very interesting ideas about 3d engines that weren't seen in other ways, and the whole 3d thing being just his curiosity exploring those ideas. And it certainly looks impressive.

I used Godot 2.0 a few years back and madea few toy games. It was very fun to use, but since game dev is not my thing, I left it at the side. Nice to see they've been improving so many things and how it has changed in so many (better) ways!

Re:Godot Shaders: View and Share Shaders for Godot by ognarb on Thursday February 04, 2021 @01:46PM (#26028460)
There was a pleasant news today about Krita and Blender: https://twitter.com/Blender_Cloud/status/1356968817071636482
Re:Godot Shaders: View and Share Shaders for Godot by gabereiser on Thursday February 04, 2021 @02:34PM (#26028907)
It really is a match made in heaven. Krita is awesome and amazing software. Blender is, of course, awesome too. I absolutely love the fact that I can sprite something in krita, bring it into blender, add weights and bones and animate it. I can model a thing in blender, uv unwrap it and bring it into Krita, paint a diffuse texture and bring that back into Blender’s shader graph.

Now if only we could get a large library of OSS megascans textures for PBR based workflows I’d be a happy camper.

Re:Godot Shaders: View and Share Shaders for Godot by bananaoomarang on Thursday February 04, 2021 @12:57PM (#26027922)
Godot + Blender + Krita really is a great trio of OSS projects and you are right that Godot seems to slip under the radar a bit. I think the project has made leaps and bounds in the past couple of years and the upcoming 4.0 release also looks to be pretty spectacular, so here's hoping for the future!
Re:Godot Shaders: View and Share Shaders for Godot by HotVector on Thursday February 04, 2021 @04:32PM (#26030048)
The only part Godot is currently lacking in is 3D, but I'm sure it'll come to AAA level in the next few years.
Re:Godot Shaders: View and Share Shaders for Godot by gabereiser on Thursday February 04, 2021 @04:42PM (#26030132)
Absolutely. Really it’s only limitation is where the devs spend their time. What would give current godot projects more support while introducing new features.

The hardest part of 3D is the shading pipeline and making that configurable, scriptable, both? in a way that allows artistic freedom and expression.

My core gripe with Unity when it first launched is that you can tell a game was made with it (you can still kinda tell today) as all the games published felt the same in how they ran, played, etc.

Those that make it look unique and give it that polish were the better sellers for sure.

Godot will get there. I spent a long chunk of my career doing a 3D game engine side-project so I get it.

Good news is that with PBR it’s becoming a bit more standardized with how a rendering pipeline works.