raylib-go
Vulkan
Our great sponsors
raylib-go | Vulkan | |
---|---|---|
21 | 70 | |
1,290 | 9,693 | |
- | - | |
9.2 | 9.3 | |
3 days ago | 5 days ago | |
C | GLSL | |
zlib License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
raylib-go
-
Raylib is a simple and easy-to-use library to enjoy videogames programming
Raylib is awesome! It reminds me of the old school days of using BlitzBASIC to get things drawn on screen because it's easy and so much fun. This is how programming used to be, no fuss, just easy to use libraries.
I currently use Raylib with Go and the Go bindings[1] to create screensavers for Linux and I'm really happy with the results.
I even use it at work to draw interactive infrastructure diagrams that animate dependencies, allow controlling start-up etc. It's really flexible and simpler than anything else I've found to get stuff on-screen. I love it!
-
Cool projects to learn and contribute?
If games/graphics interests you then this is a cool project and help is needed porting examples to Go. Raylib Go - basically it is a game development framework for Go. There are a whole lot of examples that haven't been added to the Github page here https://github.com/gen2brain/raylib-go/tree/master/examples
-
Building Snake Game In Golang: Complete Guide
Well, I haven't used Ebiten much so can't compare however Raylib is super easy to use for both 2D and 3D (as far as I know Ebiten is mainly 2D) and there is a large community as there are Raylib bindings for a lot of languages. The Go bindings are here https://github.com/gen2brain/raylib-go and the Raylib website is here https://www.raylib.com/
- raylib-go - the golang binding of raylib released v.4.5 today
-
What would be the closest thing to Unity/Unreal C#/C++ for Go to create games/animations/visual work?
However if you can code with Go already then something like Raylib https://github.com/gen2brain/raylib-go
-
3d with Ebitengine?
You can do 3D with Go and Raylib quite easily, without a lot of math, not sure you can build a 3D rendering engine with it though https://github.com/gen2brain/raylib-go
- Can Go be used for game development?
-
Where to find more information on using languages beside c++?
Unfortunately the biggest problem with Raylib for other languages like Go is just what you are talking about, there is minimal documentation. What I did to learn is to go through the examples on Github here https://github.com/gen2brain/raylib-go/tree/master/examples
-
Golang Image Manipulation.
Not sure exactly what you want to do however Raylib offers some image manipulation and is easy to use https://github.com/gen2brain/raylib-go
Vulkan
-
Usages for vkCreateHeadlessSurfaceEXT
Samples in https://github.com/SaschaWillems/Vulkan have shown how to use vkCreateHeadlessSurfaceEXT. But these headless samples crash at acquireNextImage from the swapchain. Now I guess the problem lies in the vulkan-wsi-layer.
-
offscreen rendering vs render to texture
This is the reference I used. https://github.com/SaschaWillems/Vulkan/blob/master/examples/hdr/hdr.cpp
-
Question about descriptor buffers.
Hi, I'm messing with descriptor buffers but I've came across certain issues I can't seem to solve. I'm using this tutorial as reference. I've tried UBOs and SSBOs, it works perfectly and there is no need to change the buffers offsets when recording a command buffer because I can access them by index like this:
-
Need help learning descriptor sets
Hi I am trying to learn Vulkan for an upcoming project and I have so far found everything to be straight forward if very verbose. I have now come to descriptor sets, layout bindings and the so forth and it's got more confusing than I can work out. I have been following this github repo for a headless compute example and it works fine as it is. But when I tried to add an additional storage buffer to the test shader than it comes with I am unable to copy the data over instead just getting a whole collection of 0's.
- Sascha Willems bloom example dependency management
-
Vulkan ray tracer with fog and stuff
P.S. do you know of Sascha Willems’ code? https://github.com/SaschaWillems/Vulkan
-
Proper way to access a read-only texture that has no sampler from an hlsl compute shader?
BTW, this problem can be reproduced as described below: - clone https://github.com/SaschaWillems/Vulkan.git - build the project and run it with arguments : -v - s hlsl to enable the validation layer and to use hlsl code - run ComputeShader project. The following validation error "Type mismatch on descriptor slot ..." will be shown in the console. - to fix it, as suggested above, you can replace the 3rd line of emboss.comp, sharpen.comp, and edgedetect.comp from: Texture2D inputImage : register(t0); //Creates validation errors to RWTexture2D inputImage : register(u0); //no validation errors (you'll then need to recompile the shaders to spv with a proper hlsl compiler such as Microsoft dxc)
-
Recommendations on how to start a small Vulkan project
Another way I saw some projects start was by using example base classes (either Sascha Willems' implementations or the framework used by Khronos Samples).
-
I've been working on a real-time ray tracing renderer
It's not a tutorial but I'd recommend Sascha Willems examples. A good next step could be adding models and shadows (see https://github.com/SaschaWillems/Vulkan/tree/master/examples/raytracingshadows). It's a single file but you can easily understand what each function does.
-
Add a second texture to Sascha Willems glftLoading app
Exactly as u/aerorang said. I recommend comparing your linked example with Sascha's gtTF Scene rendering example where he adds a normal map along with the base albedo texture. He also marked important parts of the code with the POI keyword, so you can search for them in the code.
What are some alternatives?
Ebiten - Ebitengine - A dead simple 2D game engine for Go
vulkano - Safe and rich Rust wrapper around the Vulkan API
go-sdl2 - SDL2 binding for Go
vulkan-guide - Introductory guide to vulkan.
Pixel - A hand-crafted 2D game library in Go
vk-bootstrap - Vulkan Bootstrapping Iibrary
g3n - Go 3D Game Engine (http://g3n.rocks)
msdf-atlas-gen - MSDF font atlas generator
goworld - Scalable Distributed Game Server Engine with Hot Swapping in Golang
tinyrenderer - A brief computer graphics / rendering course
Oak - A pure Go game engine
Vulkan-Samples - One stop solution for all Vulkan samples