Latest GLSL Activity

Seems fine to me.

Hi all,
I've been looking to improve my SSR implementation from just traditionally marching in world space and projecting back to screen space.
I camr across a paper entitled “Efficient GPU Screen-Space Ray Tracing” by Morgan Mcguire https://jcgt.org/published/0003/04/04/ which uses DDA to march in s…

My algorithm / logic is maybe a bit random, first thing I ended up with, so vertex re-use patterns become really strange with a lot of materials 😂
Purple = reused vertex. Empty = duplicated vertex.
So a chunk (32x32x32 in my case) with ≥ 4 materials might have its reuse rate lowered, but these chun…
UPDATE: I was sent this and it works. Also, it is not localized to samplerCube , it also affects sampler2D and sampler2DArry. Probably all of them but these are the only ones I am using.
Timothy Arceri commented on a discussion:
If you want to avoid the current issue in mesa you should be…

You can only accomodate arbitrary sizes with one 9-slices asset by allowing some stretching of the border and/or of the repeated interior. If your tolerance for stretching is low you might need variant assets to use with different output sizes.
For example, suppose the initial and final border in yo…

This example loads sprites from the FreeTexturePacker sprite sheet and uses a sprite in SFML style
Playgrounds:
![DevBlog 22 - Tighten Up The Graphics (Adding HDR, Bloom, Normal Maps, and more) [OpenGL 3.3]](https://uploads.gamedev.net/blogs/monthly_2022_04/medium.large.8f7a6f8a353142e783251559f69bf6d1.sa_vid22_thumbnail.webp)
I've refactored the rendering system in my engine.
The old way of rendering was complete in SDR.
In this update I created a separate off screen framebuffer that everything is rendered to first.
This offscreen framebuffer is a float framebuffer, and can store values outside of the normal [0,1] r…

Making the game fun with AI and a useful HUD.
The HUD now has helpful elements like health, energy, and game stats.
But I found the debug lines to the ships that were attacking me, actually made the game more enjoyable.
So I polished that up and made a real HUD system that has the debug lines. …

A from-scratch C++ dynamic 3D animating UI system using spatial hash grid!
I've defined my game's main menu using this system.
Buttons are constructed from shared "lasers".
That is, when we go a screen, the buttons request lasers to make up their shape.
These lasers are requested from a pool, an…

I had many problems with understanding shaders, but after getting a grasp - it is so easy, convenient and powerful! I present to you my twisted version of understanding this, hoping it will help other aspiring devs ?
This is my slow path from a total noob to a less-noob-ish shader programmer ? It wi…