Jeremy Laumon's Avatar

Jeremy Laumon

@jeremy.laumon.name

Rendering Hardware Interface Lead 🎉 @Guerrilla Blog: https://danglingpointers.com Asset Cooker (build system for game assets): https://github.com/jlaumon/AssetCooker

1,135 Followers  |  571 Following  |  450 Posts  |  Joined: 18.10.2024  |  2.1954

Latest posts by jeremy.laumon.name on Bluesky

Any environment artists available to do some freelance work for @veelpoot.com? Need some fantasy buildings made for our upcoming Skyrim mod!

Paid opportunity, of course!

26.07.2025 16:06 — 👍 7    🔁 13    💬 0    📌 0

Kenney, even at Lidl he's working for free

25.07.2025 19:45 — 👍 6    🔁 0    💬 0    📌 0

Or the shader is outputting wrong motion vectors!

24.07.2025 18:06 — 👍 1    🔁 0    💬 0    📌 0

Ok that sounds like tagged unions

24.07.2025 11:17 — 👍 0    🔁 0    💬 1    📌 0

PIX is also great for debugging (and does support raytracing), but I guess you'd have to change your name to DX12 tamer 😂

Tbh the "NSight crashed because I looked at it wrong" is a common feeling

24.07.2025 06:06 — 👍 0    🔁 0    💬 1    📌 0

And to have an array, the objects need to be the same type/size, because getting element i is essentially getter a pointer to the address of array start + i * sizeof(type)

24.07.2025 05:42 — 👍 0    🔁 0    💬 1    📌 0

I don't know if it's an array of pointers in both cases (I'm not totally sure what is called fat struct here 🙂 I guess it depends how they're used in practice). Having an array is indeed about making the memory contiguous so that the next object is already in the cache when you iterate

24.07.2025 05:34 — 👍 0    🔁 0    💬 2    📌 0

Whichever is the least bad depends on how fat the struct is, at some point it stops mattering

23.07.2025 19:43 — 👍 1    🔁 0    💬 1    📌 0

If you have an interface, that means you don't know the actual layout of the objects/structs, and that generally means each object is allocated separately. If you have an array, it's an array of pointers (and so it's the worst case, one cache miss per object). Fat structs can be in arrays at least

23.07.2025 19:42 — 👍 3    🔁 0    💬 1    📌 0

Looks like I'm looking for a job :-/
Anyone looking for a senior dev?

22.07.2025 13:53 — 👍 9    🔁 7    💬 2    📌 0
Post image

MORE ABOUT JUMPS THAN YOU WANTED TO KNOW

the final part of my assembly tutorial series.

gpfault.net/posts/asm-tu...

20.07.2025 21:45 — 👍 44    🔁 5    💬 2    📌 0
Preview
a cat is sitting on a couch with its mouth open and making a surprised face . ALT: a cat is sitting on a couch with its mouth open and making a surprised face .

"but the real purpose is delivering endless grief to unsuspecting graphics programmers trying to write code dealing with near and far clipping plane"

21.07.2025 05:58 — 👍 10    🔁 0    💬 2    📌 0
Non à la Loi Duplomb — Pour la santé, la sécurité, l’intelligence collective. - Non à la Loi Duplomb — Pour la santé, la sécurité, l’intelligence collective. - Plateforme des pétitions de l’Assemblée nationale Je m'appelle Eléonore PATTERY, j’ai 23 ans, et je suis actuellement en Master QSE et RSE (Qualité, Sécurité, Environnement / Responsabilité Sociétale des Entreprises). En tant que future professionnelle de la santé environnementale et de la responsabilité collective, j’apprends chaque jour à appliquer ce que vous — législateurs — refusez aujourd’hui de respecter vous-mêmes. La Loi Duplomb est une aberration scientifique, éthique, environnementale et sanitaire. Elle représente une attaque frontale contre la santé publique, la biodiversité, la cohérence des politiques climatiques, la sécurité alimentaire, et le bon sens. - Cette loi est un acte dangereux. Pour les travailleurs, les habitants, les écosystèmes, les services écosystémiques, et pour l’humanité tout entière. Elle fragilise les réseaux trophiques et compromet la stabilité de notre environnement — dont nous dépendons intégralement. Nous sommes ce que nous mangeons, et vous voulez nous faire manger quoi ? Du poison. 📚 Les grands textes l’avaient déjà dit : Le rapport Brundtland, l’Évaluation des écosystèmes pour le millénaire (MEA), les rapports du GIEC, les études de l’OMS, de l’INRAE, de Santé Publique France… Tous alertent depuis des décennies sur les conséquences des politiques destructrices du vivant et de la santé. Et pourtant, vous persistez à légiférer contre l’intérêt général. ⚖️ Un acte possiblement inconstitutionnel. Selon l'article L110-1 du Code de l'environnement, l’État français est garant de principes environnementaux comme: « 6° Le principe de solidarité écologique, qui appelle à prendre en compte, dans toute prise de décision publique ayant une incidence notable sur l'environnement des territoires concernés, les interactions des écosystèmes, des êtres vivants et des milieux naturels ou aménagés ; » Et la LOI constitutionnelle n° 2005-205 du 1er mars 2005 relative à la Charte de l'environnement (JORF n°0051 du 2 mars 2005 page 3697) (annexée à la Constitution de 1958) dans son chapitre 1er : « Chacun a le droit de vivre dans un environnement équilibré et respectueux de la santé. » En validant cette loi, vous violez potentiellement ce droit constitutionnel, et portez atteinte à l’obligation de précaution, pourtant consacrée par le principe n°15 de la Déclaration de Rio et repris dans notre droit. Je m’oppose donc à la Loi Duplomb. Par cette pétition, je demande : - Son abrogation immédiate ; - La révision démocratique des conditions dans lesquelles elle a été adoptée ; - La consultation citoyenne des acteurs de la santé, de l’agriculture, de l’écologie et du droit. Aujourd'hui je suis seule à écrire, mais non seule à le penser.

Encore un petit effort, ça prend 2mn.

petitions.assemblee-nationale.fr/initiatives/...

19.07.2025 10:18 — 👍 23    🔁 10    💬 3    📌 0
Preview
a woman is sitting in front of a microphone and saying do you want me to kill them ALT: a woman is sitting in front of a microphone and saying do you want me to kill them
18.07.2025 17:27 — 👍 0    🔁 0    💬 0    📌 0

J'espère que t'as une bonne excuse

18.07.2025 17:03 — 👍 0    🔁 0    💬 1    📌 0
SSAO, "Close Enough" since 2007 | A Brief History
YouTube video by Zenteon SSAO, "Close Enough" since 2007 | A Brief History

Nice li'l new video covering (some of) the history of SSAO algorithms:

youtube.com/watch?v=g4or...

15.07.2025 04:27 — 👍 20    🔁 5    💬 1    📌 0

On the other hand we sometimes say "go get your ass cooked", which is less classy 🤔

14.07.2025 20:19 — 👍 0    🔁 0    💬 0    📌 0

Counter example: the French say go cook an egg rather than suck an egg. Consuming cooked eggs is definitely classier 😛

14.07.2025 20:17 — 👍 1    🔁 0    💬 1    📌 0

Oh we had that as well. There was booze, but the children couldn't have any 👎

11.07.2025 06:19 — 👍 2    🔁 0    💬 1    📌 0
Lossless Float Image Compression · Aras' website

Blog post about lossless float image compression (EXR, HTJ2K, JPEG-XL, mesh optimizer): aras-p.info/blog/2025/07...

10.07.2025 14:38 — 👍 64    🔁 17    💬 2    📌 0
A whitewashed pub wall, with mortar standing proud of the stones.

A whitewashed pub wall, with mortar standing proud of the stones.

When I found a pub with an inverted normal map. (If you understand what this means, you have to repost.)

09.07.2025 22:21 — 👍 1864    🔁 905    💬 54    📌 23

That's mostly a code style question, so there's no wrong answer.

Personally I'm on the team of communicating intent with comments 😁 (or in the case where it needs to be a pow2 probably the comment of a static_assert)

09.07.2025 08:21 — 👍 3    🔁 0    💬 1    📌 0

I think the fact that no one knows exactly the number for 2^31 is still making the point. Something like 2 * GiB, or GiB(2), or even 2_GiB with C++ user defined literals, is unambiguous to everyone

09.07.2025 06:46 — 👍 3    🔁 0    💬 2    📌 0

Thank you!

09.07.2025 04:23 — 👍 0    🔁 0    💬 0    📌 0

Thanks Alex!

09.07.2025 04:23 — 👍 1    🔁 0    💬 0    📌 0

Tack!

08.07.2025 18:24 — 👍 0    🔁 0    💬 0    📌 0

Pretend there's a second maintainer called Ramo Tunroc and he's much less patient 😁

08.07.2025 17:20 — 👍 8    🔁 0    💬 0    📌 0

Thanks!

08.07.2025 16:37 — 👍 0    🔁 0    💬 0    📌 0

Thanks Alan!

08.07.2025 16:23 — 👍 1    🔁 0    💬 0    📌 0

Thank you!

08.07.2025 16:21 — 👍 0    🔁 0    💬 0    📌 0

@jeremy.laumon.name is following 20 prominent accounts