News for hackers. Stuff that matters.
Re:Godot 4.0 gets SDF based real-time global illumination by codegladiator on Sunday June 28, 2020 @02:15PM (#23670815)
Yes please I have always wondered why is this not a thing
Re:Godot 4.0 gets SDF based real-time global illumination by jayd16 on Sunday June 28, 2020 @03:03PM (#23671186)
I can't read the linked article without logging in but in my experience its not ideal for several reasons.

Game engines are designed around game loops executing code every frame and not around power efficient layout caching.

Orthrographic hierarchies are how UIs are usually laid out and its a mild pain to move to a system that's depth sorted, with custom shaders etc. You can do more but you need to think about more and its harder for the UI system to know what parts of the screen can be redrawn. Games usually just draw it all every frame.

Specifically for a game engines, they usually don't do things like OS integration for accessibility, subpixel font rendering, that sort of thing. In theory they could but usually game engines seem to roll their own system for this.

Re:Godot 4.0 gets SDF based real-time global illumination by pixelpoet on Sunday June 28, 2020 @07:26PM (#23672851)
I really love ImGui but what you described (accurately, I don't know why you got silently downvoted) is my biggest problem with it for general UI use.

It's actually quite difficult to hack to make it not need 60+ fps updating; I've tried and was not really successful, wrote about some of the issues on reddit: https://www.reddit.com/r/cpp/comments/hcpoc0/how_to_add_a_gu...

Re:Godot 4.0 gets SDF based real-time global illumination by krapp on Sunday June 28, 2020 @02:16PM (#23670822)
Because of Electron.