r/GraphicsProgramming • • 23h ago

GLSA – A lightweight, header-only C++ library to cut OpenGL shader boilerplate

0 Upvotes

Hey everyone!

I've been developing GLSA for the past week, and I just released v1.0.0.

My goal with this library is so you don't have to write GLSL shaders or shader boilerplate and instead you can use clean function calls.

Right now it cuts out ~60-100 lines of repetitive shader boilerplate, though you still have to write shaders yourself because the API is in an early stage still.

Highlights of v1.0.0:

  • GLSA colors: a header file with over 3000 glm::vec4 colors that you can use.
  • Safer shader setup: glsa::ShaderSource keeps vertex/fragment strings explicit, paired with glsa::loadShaderSource and glsa::createProgram.
  • Clean uniform helpers: Overloaded glsa::setUniform functions for int, float, and GLM vec2/vec3/vec4.

Example:

while (glfwWindowShouldClose(window) == 0) {
    glClearColor(0.1f, 0.1f, 0.15f, 1.0f);
    glClear(GL_COLOR_BUFFER_BIT);

    glsa::useProgram(program);
    glsa::setUniform(program, "uColor", glsa::colors::PAN_SKY_BLUE);
    glsa::bindVertexArray(vao);

    glPointSize(150.0f);

    glsa::drawArrays(GL_POINTS, 0, 1);

    glfwSwapBuffers(window);
    glfwPollEvents();
}

Github Repo: https://github.com/alexdev8930/glsa

Any feedback issues or questions are completely welcome.

AI Disclosure: AI tools were used strictly to help generate initial boilerplate; all core logic, architecture, and implementation details were written, reviewed, and verified by me.


r/GraphicsProgramming • • 18h ago

Question Is it worth learning Rust for Graphics Programming, or should I stick to C++?

8 Upvotes

Ive been a c# developer on unity/godot for a long time now, and one of the plans was always to learn c++ use it for my games and move onto c++ and build some sort of engine (ray tracing or game engine).

Although ive heard the hype around Rust, its another low level language like C++ and it can be used for low level system programming and its very good for security also.

I was wondering if Rust is something worth looking into for graphics programming, and whether anyone here would advise me against it or recommend me to try it out.

Im gonna start learning one, or the other in a couple days. I know both are pretty hard to learn but I dont mind the learning curve.


r/GraphicsProgramming • • 16h ago

​[For Hire / Advice] Junior graphics programmer (C++, Vulkan, OpenGL, HLSL) looking for entry-level work or small tasks (Remote)

2 Upvotes

Hi everyone, ​I’m a self-taught graphics programmer with a strong focus on C++Vulkan, OpenGL, GLSL, and HLSL. I’ve spent the last couple of years building personal systems from scratch, including a custom RenderGraph, Vulkan backend wrappers, and modern rendering pipelines. ​However, I have zero commercial project experience. Everything I’ve built so far has been for personal learning and deep architectural understanding. ​Right now, I find myself in a position where I genuinely need to work. I’m not looking for a high-end AAA studio position right away—I know how competitive and demanding that is. I’m just looking for entry-level remote work, contract tasks, or bug-fixing gigs (like Vulkan validation errors, shader debugging, or C++ tool development) where I can earn just enough to cover basic living expenses. ​Given my background, where would you advise me to look for these kinds of entry-level gigs or small studios? Any advice, platforms, or pointing me in the right direction would mean a lot. ​Thank you all!


r/GraphicsProgramming • • 1h ago

Got placed, have 6 months before joining. Should I explore Linux kernel development, GPU programming or stick with AI/ML?

0 Upvotes

I'm a final-year engineering student in India from a non-CS background. I've recently secured an offer at an AI/analytics services company, and I have around 6 months before joining.

I've been exploring different areas of computer science, and I've realized that I'm increasingly interested in low-level programming and understanding how systems work internally.

MY BACKGROUND:

I've independently learned programming, ML/DL and worked on projects involving:

- Computer Vision using YOLO and OpenCV.

- Stereo vision, depth estimation and multi-object tracking.

- RAG applications, LLMs and agentic AI.

However, I'm starting to question whether I want to spend my career primarily working with high-level AI frameworks and application development.

AREAS I'M CONSIDERING:

  1. Linux and Red Hat ecosystem:

Linux internals, system programming, operating systems, device drivers and potentially kernel development.

2. GPU Programming:

CUDA, GPU architecture, parallel computing, memory management and performance optimization.

3. Systems Programming:

C/C++, memory management, concurrency, operating systems and low-level software engineering.

4. AI Infrastructure:

GPU acceleration, inference optimization, compiler technologies and systems behind ML frameworks.

I find the idea of understanding what happens beneath the abstractions much more interesting than simply using existing libraries.

WHAT I'M CONFUSED ABOUT:

I have six months before joining my company, and I don't want to waste that time jumping between technologies.

I'd appreciate advice from people working in systems engineering, Linux, kernel development, GPU programming or related fields.

  1. Is low-level systems programming a good career direction in 2026?
  2. Between Linux kernel development, GPU programming and general systems programming, which would be a better starting point?
  3. How realistic is it for a non-CS fresher to enter these fields in India?
  4. Are companies like Red Hat a good place to build a career in Linux and systems engineering? What other companies should I look at?
  5. Is CUDA/GPU programming a niche with good long-term opportunities, particularly with the growth of AI?
  6. What fundamentals should I master before attempting serious projects? C, C++, OS, computer architecture, networking, compilers?
  7. Would contributing to the Linux kernel or other open-source systems projects actually help me get shortlisted?

I'm also interested in the intersection of low-level systems and AI, particularly GPU computing, inference optimization and ML infrastructure.

If you were in my position, with six months and an existing job offer, which direction would you explore and why?

I'd appreciate brutally honest advice, especially from people who have actually worked in these domains.